Forum Archive

iPad directory

mute1esk

I am new to Pythonista on my iPad and I am trying to access an excel file that i have in a folder on my ipad in the files folder. can anybody help with using getting the directory where i have my file on the iPad and the changing of the directory. the code i have is not working.

cvp

@mute1esk please read this topic

mute1esk

thanks for the help. this worked!

mute1esk

Hi all. So i had to wipe my ipad clean and restart. so i lost my code that I used to change directories. so i ran the code that I was pointed to in the reply to give access. however when i use os.chdir to the directory, it keeps giving me an error that “no such file or directory”. is anybody having this issue in iOS15? or is it maybe I am not doing something correct in the chdir. any help would be greatly appreciated.

cvp

@mute1esk did you follow the steps described in the linked topic?
The alphanumeric identification code could have change if new iPad or new iOS.