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.
How to import folders?
-
Hey everyone,
I‘m new here and I just started exploring Pythonista yesterday. I looked for some more examples to play around and I found tons of examples here https://github.com/tdamdouni/Pythonista - thanks Taha Dhiaeddine Amdouni for sharing. I downloaded all the stuff and now I wonder how to get the folders into pythonista 3. I figured out how to import files, but I‘m not able to get a folder import to work.
Does anyone have an idea or a hint for me?
Thanks alot
RownnI work on iPad.
-
@rownn, would you be ok placing then in Pythonista iCloud folder? E.g. using the Files app.
Then you can open and run things from Pythonista.
-
Hi mikael,
thx for your reply. You mean coping the folders into a pythonista folder directly? That would be great, but I cannot find any pythonista folder, neither on iCloud Drive nor On My iPad. I guess there are alot of stuff hidden somehow - honestly, I‘m not really familiar with iDevices.
-
@rownn, open Pythonista hamburger menu. At the top there are iPad/iPhone and then iCloud. Go to iCloud. If there is nothing there, create a folder (e.g. Tdamdouni). Then go to Files app and iCloud. You should see a Pythonista 3 directory in the root.
-
Really? It is that easy? Many thx!!!
-
Or run script from share default view
from PIL import Image import appex import ui def main(): if not appex.is_running_extension(): print('This script is intended to be/ run from the sharing extension.') return path=appex.get_file_path() if len(path)>5: import shutil shutil.move(path,'/private/var/mobile/Containers/Shared/AppGroup/29427C70-DDD5-4356-A6C7-0FBAD22F6230/Pythonista3/Documents/' ) if __name__ == '__main__': main()