Hello. Happy new year everybody.
My Name is Roberto, and I've been around quiet for a little while... :)
So, I want to share a little app with somebody, but I don't want to distribute my code. There's no way to compile to an app anymore it seems, at least not Python 3, right? Anyway, I was thinking into compiling to at least bytecode "pyc", and I did compile it using the console by typing:
import py_compile
py_compile.compile('myprogram.py')
And I've got a "pycache" folder with "myprogram.cpython-36.pyc" correctly, but when I tap on it, it won't execute or anything, but instead, it ask me "Open with...".
I personally think Pythonista is the best Python app for iOS, but it would be great if you can share/distribute your creation without giving away the whole source code. Of course, I'd prefer to be able to generate a native separate app with my python code, but I also understand the reasons why it's not available anymore as well; still, I think it would be a good idea to have Pythonista generate/compile py files, and be able to execute pyc files as any regular py file, including setting it as a widget and all...
Thank you for your awesome work.
Roberto.