Shared files on the ipad
@cvp The same errormessage "[Errno 2] No such file or directory"
@Jo for me, this works with last iOS, last Pythonista
path = '/private/var/mobile/Containers/Data/Application/B287D045-9D65-45AC-B31C-B957D4A475C6/Documents/Mappe.xlsx' with open(path,mode='rb') as fil: r = fil.read() print(len(r))
Pythonista open external folder
@Jo just to be sure you get the correct path of your Mappe.xlsx file when it is defined as an external file,
- create this little script as a Pythonista tool
import editor def main(): print(editor.get_path()) if __name__ == '__main__': main()
- édit your Mappe.xlsx in a Pythonista tab and execute the tool
@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.