0
I am not able to read the file inspite of giving correct directory
I am using sololearn in android device. Its Samsung Tab A. For eg i open xyz in w+ so its create file xyz.txt When i close the program and try to read the same file it gives error that the file not found
2 Réponses
+ 1
Ashwani Kumar because when you create a file on the code playground of SoloLearn, the file is actually stored on the server of SoloLearn and immediately deleted afterwards (because the code is actually run on the server and not on your phone).
And because of the same reason, you cannot read files from your phone through SoloLearn.
If you want to learn reading and writing files, I suggest you temporarily install an app that has access to your phone storage (i.e. an offline compiler).
+ 4
Following what XXX said You can install pydroid 3 for that