The Windows Store app Python 3 For Metro claims that it allows users to edit and run Python files (I can’t get it to work). How is this possible from within the sandbox? Can I run a file (say test.py on the desktop) from my JavaScript app?
The Windows Store app Python 3 For Metro claims that it allows users to
Share
I have ported the Python interpreter to WinRT to achieve that. Instead of using Win32 API, it now uses WinRT API (in particular for reading files from the user’s Documents folder).
In principle, yes. You need to take the python33.dll from my app, wrap it as a WinRT component, and then call it. It actually is a WinRT component already, but doesn’t expose any of the Python API. See
http://hg.python.org/sandbox/loewis/file/ee9f8c546ddd/win8app/python33