0

Opening file

I am a beginner i got question: How do i open files using open() function on ios? I tried to open a file that is existed on my iphone But when i run it it gives an IOError. Please help me to open file on ios.

23rd Oct 2018, 2:09 AM
Tan Vireak Punhakvorn
Tan Vireak Punhakvorn - avatar
4 Answers
+ 1
You ran it here on sololearn? Because if you did, remember that the code is executed on sololearn's server, so will not find the file you have on your phone
23rd Oct 2018, 2:15 AM
voidneo
+ 1
thank you
23rd Oct 2018, 11:02 AM
Tan Vireak Punhakvorn
Tan Vireak Punhakvorn - avatar
+ 1
er can you tell me the difference between the file py and pyw clearly?
23rd Oct 2018, 11:03 AM
Tan Vireak Punhakvorn
Tan Vireak Punhakvorn - avatar
0
Sorry, I don't know python
23rd Oct 2018, 3:59 PM
voidneo