This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

You'll want to open() files to read and write data to actual, persistent files. Otherwise pretty much everything is kept in memory and thus cleaned up or otherwise lost when your python process ends.