Share projects with itunes pc connection
Some ios apps allows to share a directory of app documents. When you connect the ipad to a PC (like a simple Ubuntu 16) you can see all this shared directories and upload / download file and directories inside those shares.
An example is playerXtreme, but also iComix and a lot of apps. I think also Editorial lets do the same thing:
This would be a great way to add, download and handle pythonista projects: the share could contain python projects, and you should be able to upload easily your files.
Is it possible to add this feature?
Sadly this is not possible. Pythonista allowed importing files from other apps (as well as from iTunes I think) until version 1.4, but then Apple's app review team complained because it allowed importing executable code, which is a big no-no on iOS. Pythonista 1.5 and all later versions are no longer "Open In" and iTunes file transfer targets for that reason.
There are ways to get around this, such as Stash's git implementation, or the various sync scripts for Dropbox and such. And if you just want to get files from Pythonista onto your computer, you can make a backup of your device using iTunes, and then extract Pythonista's files from the backup using a program like iExplorer or iFunBox.
Maybe we can let pythonista import all files except executables? .txt, .csv, .jpg and so on?
The share extensions in the latest betas of Pythonista 2 and 3 allow this - when sharing any file that is not a Python script, there is an "Import File" option. I don't know if the same could be done for "Open In" and iTunes file transfer. For "Open In", an app can say which file types it can open, but I don't know if it's possible to say "all file types except Python files". @omz?
The share on gmail doesn't work for me (I'm not using the beta, but the standard one). I've also have owncloud, but the share action doesn't work neither.
Maybe we can add pythonista the ability to open editorial projects?
Did you remember to turn on the Pythonista share action? (In the bottom row, scroll all the way to the right, tap on the three dots, and enable Pythonista in the list there.)
omz last edited by
The "Import File" option will only show up in the beta.