Change
Save
Saving
Drag and Drop a photo, drag to position, and hit Save

Group Details Private

administrators

Member List

  • omz

    @GaryGadget Note that ui.Button is a subclass of ui.View, so the background_color property is inherited from that.

    posted in Pythonista read more
  • omz

    Not sure if anyone has done this yet, but it should generally be possible.

    However, you might also want to take a look at the speech module. It uses SFSpeechRecognizer internally for the speech.recognize() function.

    posted in Pythonista read more
  • omz

    There were a couple of minor problems with your workflow, e.g. the selected lines were not the input for the repeat block, the $1 capture group in your regex didn’t exist, and a few other things.

    This one should work:

    HTML List

    posted in Editorial read more
  • omz

    Everything @dgelessus said is completely correct. One more note though: If you keep Pythonista 3 installed when deleting Pythonista 2, you will keep all your files. The local files will only be deleted when both apps are gone because they use the same app group, and share their files.

    posted in General Discussion read more
  • omz

    The default is to sync only /Apps/Editorial (the app folder), and no other folders will be accessed. Editorial needs "full Dropbox access" because it allows you to configure which folder to sync, but it won't access any other folders by default.

    posted in Editorial read more
  • omz

    I'm afraid that reading manufacturer data is currently not possible with the cb module, but as I have a couple of beacons as well, this is something I'll probably look into soon.

    posted in Pythonista read more
  • omz

    When you iterate over a string, each iteration is one character of the string, not one line.

    Use for line in wftext.splitlines(): instead of for line in wftext:, and it should work as expected.

    posted in Editorial read more
  • omz

    @JonB Thanks for the reminder, should be fixed now.

    posted in General Discussion read more
  • omz

    In your pyui file (example.pyui here), add a custom view, and set its "Custom View Class" field to SceneView. Also set the name to something unique (I've used "sceneview" in the code below), so you can get a reference to the view more easily, after loading the UI. Load the UI, and set the scene attribute of the custom view. That's pretty much it.

    from scene import *
    import ui
    
    class MyScene (Scene):
        def setup(self):
            pass
            # Define your scene like usual...
    
    v = ui.load_view('example.pyui')
    v['sceneview'].scene = MyScene()
    v.present('fullscreen')
    

    posted in Pythonista read more
  • omz

    @ProgrammingGo said:

    Do you mean 0b00000010, bit 8 '0' and bit '9'is 1 would correspond to 8G?

    No, I think it would correspond to 4G. If I'm not mistaken, 8G would be 0b00000001 (I assume the last bit is bit 8, and the second-to-last is bit 9).

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!