This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
''' | |
This is a little helper script to make it easier | |
to create single-file scripts with Pythonista, while | |
still taking advantage of the UI editor. | |
It'll essentially convert the .pyui file to a compact | |
string representation that you can embed directly | |
in your script. The code to unpack and load the UI | |
is also auto-generated for convenience. |