write(string) : Write : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Write »

 

write(string)


f = open(r'c:textsomefile.txt', 'w')
f.write('thisnis nonhaiku')
f.close()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Write