• omz

    Yeah, I had assumed that libcompression was mostly about LZFSE, Apple‘s own new compression algorithm. I guess it might even be possible to use lzma via ctypes this way...

    posted in Pythonista read more
  • omz

    That’s interesting. I wasn’t aware that libcompression has basic lzma support built-in.

    posted in Pythonista read more
  • omz

    MindNode is pretty popular for Mindmaps, I think (haven’t used it personally).

    posted in General Discussion read more
  • omz

    There is no way to change the vertical alignment of a ui.Label, but you could achieve a similar effect using my_label.size_to_fit().

    posted in Pythonista read more
  • omz

    I'm not entirely sure if os.abort will generate a crash report that might get sent to Apple. os._exit(0) might be a slightly cleaner alternative, though the same caveats about files possibly not being saved etc. apply (usually not that big of a deal because the editor automatically saves before running any script).

    posted in Pythonista read more
  • omz

    @marcus67 It's currently not possible, I'm afraid.

    posted in Pythonista read more
  • omz

    I can confirm that this currently doesn't work as intended, but there's a workaround:

    import notification
    
    notification.schedule('Test', delay=5, sound_name='Media/Sounds/drums/Drums_15')
    

    The same pattern ('Media/Sounds/<collection>/<name>') should work with any of the bundled sounds, not just the 'digital' and 'game' collections.

    posted in Pythonista read more
  • omz

    @Phuket2 That's a great idea!

    posted in Pythonista read more
  • omz

    @dgelessus @technoway Or just use the </> button in the editor. Adding python should usually not be necessary, syntax highlighting will mostly work without it.

    posted in Pythonista read more
  • omz

    Something like v.remove_subview(v['view1']) should work.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!