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.
permission error on ipad but not on iPhone with getcwd().
-
import os print(os.getcwd())
Running that code in a file is giving me a permission error.
Traceback (most recent call last):
File "/private/var/mobile/Library/Mobile Documents/com LoudDocs/_test/test_function.py", Line 3, in <module> print (os.getcwd())
PermissionError: [Errno 3] Operation not permittedI can run the same code/file on my iphone and it works. how have i changed ios permissions on my iPad.
-
@Pythonised did you authorize the access to this folder in Pythonista, by opening it as external?
-
Thanks @cvp I added the root of my icloud to external files as you sugeated and voila. I dont understand how this stopped working but I'm happy to have a simple solution.