• mikael

    @stephen, it’s spam.

    posted in Pythonista read more
  • mikael

    @RainmanNoodles, there is something I do not understand here, as git via Working Copy works fine for me, with even two different route options:

    1. Open WC repository as an External Folder from Pythonista.
    2. Sync WC repository with an iCloud directory visible in Pythonista.

    Of course, in all cases you need to do the commits in WC.

    posted in Pythonista read more
  • mikael

    @crazy666, just for fun, here’s the ”almost standard” way of wrapping a number range from 0 to (how_many-1):

    i = (i+1) % how_many

    posted in Pythonista read more
  • mikael

    @crazy666, probably a typo for tub3 makes it a tuple instead of a decimal number.

    posted in Pythonista read more
  • mikael

    @crazy666, now that it is formatted, I see that both of my earlier comments might be irrelevant.

    What is not working?

    posted in Pythonista read more
  • mikael

    @crazy666 said:

    tf.text += sender.title
    

    This looks like it will result in: ”1” + ”2” = ”12”

    Is that intended? Or are you expecting ”3”? In which case you need:

    tf.text = str(int(tf.text) + int(sender.title))

    posted in Pythonista read more
  • mikael

    @crazy666, as @stephen said, hard to read or understand the code without formatting.

    Are you using active where it should be enabled?

    posted in Pythonista read more
  • mikael

    @stephen, well, complicated stuff.

    tinysync can give you the building block of reacting to object or data structure changes (synchronously).

    As another building block, you could look at scripter, which you can use to write different types of logics which run on the loop. Scrpter supports running different scripts at different update intervals, which could be used to spread the load according to your hierarchy.

    Combining the two, tinysync can trigger async scripter scripts.

    posted in Pythonista read more
  • mikael

    @stephen, I am not 100% sure what you are after, but the topic is interesting. For reference, you might check my WIP tinysync, which fires a change event whenever the tracked object is changed.

    I primarily use it to implicitly save data to file whenever it is changed, but I did have other ambitions as well.

    posted in Pythonista read more
  • mikael

    @cvp, wow! Now we know what you have been doing.

    Sort of acts like a help as well, right?

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!