Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
new user
-
I just started using Python and Pythonista, mostly because many of my students use it and I need to run their codes. How do I get their .py files into Pythonista? So far, all I can do is copy them onto the clipboard and then paste into a new script. It seems there must be a better way. I saw that "open in" is not allowed. Also, same thing with gist on git hub. How do I even download codes that I find on gist?
Thanks
-
Unfortunately Pythonista is no longer allowed to be used as an Open In target as of the latest update, as requested by Apple. Copy-pasting currently is the easiest way - the GitHub integration is currently broken as far as I know. It is still possible to download files from the internet using modukes like
requests
, which is the only way to get non-text files into Pythonista. Though for code and other text files it is generally much easier and quicker to just copy and paste them. -
@ermentrout you could easily write a transfer script to transfer from your desktop to your ipad, an ipad to another ipad. You could even allow users to remotly transfer thier project to your ipad.
-
Try this new version of the Gist importer, it works for me, and has a couple new features added in. Just ask your students to export their Pythonista scripts to Github, and send you the urls. Now just copy each of the urls into your clipboard individually, (not all at the same time) and run the gist importer script after each of the copied urls. I think they also included a javascript bookmarklet to do most of the work for you.
-