We are using os module to create folder and file handle as f to create a file in write mode
code:
import os
os.mkdir("/storage/emulated/0/Test_Folder")
os.chdir("/storage/emulated/0/Test_Folder")
f=open("Test File.txt","w")
f.close()
Pydroid3 app link : https://play.google.com/store/apps/de...
-----------------------------------------------------
Coder : Mohit Khatak
Stay connected with us
Contact : +918950097115
Whatsapp: +918950097115
Mail : [email protected]
Website : https://shivam6662.w3spaces.com
Another website : http://shivam6662.epizy.com
© SHIVA+M STUDIO