I often use this:
content=open(file_name).read()
According to your page "python improvements" this should be avoided, since the file does not get closed explicitly.
I don't understand it, since I think the open file gets closed as soon as the variable gets garbage collected.
What do you think? Is above line clean code?