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?
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?