@cvp You are right the path has changed. It looks like the path for external files is "/private/var/mobile/Containers/Data/Application/37E6A0DC-0618-4E14-9AD2-75E03BA90884/Documents/Mappe.xlsx"
The path of the Pythonista Files is Path='.../6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/...'
That solved my problem. Thank you very much for your continued support.
@pvg No, it's not o.k.. I make the following steps:
- Save the Excelfile with Excel on "Auf meinem iPad"
- Change to Pythonista
- Under "EXTERNAL FILES" choose "Open..." then "Folder..." then "Auf meinem iPad". The file is not there
- I chosse the subdirectory "Excel" an there i found the file
- When i choose the subdirectory, i see the name at the top "Documents"
- I choose the following pathes:
a. path ='/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/File Provider Storage/Mappe.xlsx
b. path ='/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/File Provider Storage/Excel/Mappe.xlsx'
c. path ='/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/File Provider Storage/Documents/Mappe.xlsx'
d. path ='/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/Excel/Mappe.xlsx
e. path ='/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/Documents/Mappe.xlsx
but when i start the script the command "with open(path,mode='rb') as fil: " >> [Errno 2] No such file or directory
My ios Version ist 13.3.1
My Pythonista Version v 3.3 (330025)
@cvp Thx for your help.
The status now is:
- I see under "EXTERNAL FILES" "File Provider Storage"
- I see the files , but i can't open the files with a Pythonista-Script
- Now the files which i will open are in the folder "..../Pythonista3/Documents" and this is sufficient
I wish you a few nice days in your holiday
@cvp Thx for your answers even thought your in holiday. I have saved my file in "Auf meinem iPad" and it looks like your screenshot. But their is no directory "File Provider Storage"
When i run the code:
path = '/private/var/mobile/Containers/Shared/AppGroup/6ABBAC2F-5C86-4FDE-9028-6379CF4EE774/'
there are only this files/directories
['.com.apple.mobile_container_manager.metadata.plist', 'Library', 'Pythonista3']
@mikael, thanks for your quick answer.
I save the file "mappe.xlsx" with the App "Dateien-App" in the folder "Pythonista 3", but in the folder:
are only folders or file with ending *.py.
or are there other ways to share the file?