open, you can transfer strings of data to and
from the associated external file by calling the returned file object’s
the point of adding a "File" object in the between, is to wrap functionalities such as reading by line, reading all at once, seek by offset, etc. This extra abstraction layer deals with the complexity of handling file contents.
Share this highlighthttp://www.safaribooksonline.com/a/learning-python-5th/10763291/