Can I code in smartphone and to open the file from directories? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I code in smartphone and to open the file from directories?

This is the code what I learned from python and I tried to dcoder(mobile app) but its give me a permissionError. Please someone help me! file=open("/Home/Internal storage/newfile.txt","r") print(file.read()) file.close()

3rd Mar 2019, 8:43 AM
Khalid Sanggoyod
Khalid Sanggoyod - avatar
2 Answers
+ 2
Have you used Pydroid3 app for Python? The best app for coding Python on Android. Just search for it in the play store.
3rd Mar 2019, 8:48 AM
Шащи Ранжан
Шащи Ранжан - avatar
+ 1
Okay thanks. I will download that Pydroid3 now :)
3rd Mar 2019, 8:50 AM
Khalid Sanggoyod
Khalid Sanggoyod - avatar