First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
| 1 | initial version |
It is a good practice to use the close() method to close a file. After the f.write line add:
f.close()
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.