shellista
shellista copied to clipboard
Running scene files directly using python <filename> doesn't work
If you pass a filename to the python command, the desired behavior should be that Pythonista directly runs that file.
For example:
python Clock.py
should immediately run the Clock app.
I am not sure whether or not this is possible with Pythonista. I tried implementing this using execfile() as well as __import__() and I couldn't get either to work
Scenes are funny, and don't execute until other scripts end. python Zen.py works as expected
Updated, thanks @jsbain!