- Details
- Egidio Docile
- Programming & Scripting
The manipulation of files is an operation which sooner or later we'll need to perform in our programs. The python built-in open
function returns a file object
, which lets us interact with files in different modes: we will see them in this article.
- How to use the python open function.
- What are the various modes of operation which can be used with the python open function.
- How to interact with a file object.
- Why is important to close a file object, and how to do it.