Ask coding questions

← Back to all posts
when i write to this file, it doesn't show up
QuinnBanaan (0)

so when i add write to this file, it doesn't show up when i look at it afterwards. what is the issue and how can i fix this?

Comments
hotnewtop
19ecal (228)

You forgot to close the file
Add f.close() to the end of your code and that should work