flxj_q
Last Updated: October 26, 2017
·
1.49K
· skysnap

Python I/O Open Close File

Open a file

fo = open("sample.txt", "wb")
fo.write( "This is sample.\nSave this in file!!\n");

Close open file

fo.close()

Say Thanks
Respond

1 Response
Add your response

28086

better with with

over 1 year ago ·