Can you manipulate .txt files on your android device using the python IDE in the Sololearn app? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you manipulate .txt files on your android device using the python IDE in the Sololearn app?

Hi, I wrote some code (using the Python IDE in the Sololearn app) to read a .txt file located in my phone​ storage. Each time it runs I get a "FileNotFoundError", I double-checked the file path to be sure but nothing seems to be working. Is there a way around this? Thanks.

8th Jul 2017, 3:10 PM
samuel
samuel - avatar
2 Answers
+ 8
When we deal with files using codes on Code Playground, the codes are sent to the server for compilation/interpretation. Hence, those files you specified would be searched for at server-side instead of on your local storage. Currently, there is no way around this (or at least, none of what I am aware of).
8th Jul 2017, 4:29 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
At this time,i think this can't happen on Sololearn but I think you can use the app "QPython" for using python on mobile which may help you
8th Jul 2017, 4:45 PM
Nikhil
Nikhil - avatar