I have finished writing a program on Windows laptop. It is a program that picks random words from a text file. On Windows OS, I saved the .txt file in the same directory as the .pyw and everything is fine.
Then I uploaded the .pyw and .txt on google drive and opened them on my iPad with pythonista. When I run the program, it says ‘No such file or directory’. (see screenshot below)
screenshot of the code and error message
I just got my iPad pro about a week ago and I am still not sure how the directories work on iOS. It is not very intuitive without a file explorer. I just know that in iOS you are supposed to open a file with certain apps and it is saved it its own ‘library’?
Can anyone tell me what I am doing wrong? Perhaps a brief background on how iOS file system works could help me understand.
I resorted to asking what may seem like a relatively ‘simple’ question here because I am self-learning. Also, in South Korea (which is where I am) iOS developers are very rare to come by. Everyone does windows or android but not iOS. It is a very difficult for me to find any useful information regarding compatibilty issues that I run into going from PC to iOS.
Any help would be much appreciated.