0

How do you save what you have written to a file?

17th Mar 2017, 7:52 PM
Brandon Traub
Brandon Traub - avatar
3 Answers
+ 7
Just use the .close() method on a file handler. That will save all the changes you made to the file. Take a look at it step by step: https://code.sololearn.com/c4AWEdTM7HeT/?ref=app
17th Mar 2017, 8:26 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 1
if you meen the codes you have written when you open the idle choose file menu and choose new file write your code press f5 to test your prog and then save it
17th Mar 2017, 8:27 PM
YAZAN AHMED
YAZAN AHMED - avatar
0
k thanks
17th Mar 2017, 8:26 PM
Brandon Traub
Brandon Traub - avatar