If you read an entire file with content = open('Path/to/file', 'r').read() is the file handle left open until the script exits? Is there a more concise method to read a whole file?

4 Answers
4

Leave a Reply

Your email address will not be published. Required fields are marked *