Does anyone know how to open files on Pydroid 3? If so can you give examples? | SoloLearn: Learn to code for FREE!

0

Does anyone know how to open files on Pydroid 3? If so can you give examples?

5/28/2020 9:04:14 PM

3.14159265358

1 Answer

New Answer

+5

f=open("/storage/emulated/0/filename","r") f.close() Works for me and this is internal storage From home I never tried but you can check for the path by import sys print(sys.path) from home you could do f=open("/data/user/0/ru.iiec.pydroid3/files/filename","w") f.close()