diff --git a/python/Opening_file.html b/python/Opening_file.html index 9b2ac82..4352f16 100644 --- a/python/Opening_file.html +++ b/python/Opening_file.html @@ -128,9 +128,11 @@

Opening a file with python

This short article show you how to open a file using python. We will use the with keyword in order to avoid having to close the file.

There is no need to import anything in order to open a file. All the function related to file manipulation are part of the python standard library

-

In order to open a file, we will use the function open. This function takes two arguments : -- the path of the file -- the mode you want to open the file

+

In order to open a file, we will use the function open. This function takes two arguments :

+

The mode can be :