Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
I think you mean file=open("file.txt","w") set the path to your sdcard as in: file=open("/storage/sdcard0/file.txt","w")
19th Oct 2016, 6:55 AM
Sunera
Sunera - avatar