mirror of
https://github.com/redoules/redoules.github.io.git
synced 2025-12-13 16:19:34 +00:00
Corrected another list in makedown
This commit is contained in:
parent
82768adc01
commit
42f93579f4
@ -128,9 +128,11 @@
|
||||
<h1>Opening a file with python</h1>
|
||||
<p>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.</p>
|
||||
<p>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</p>
|
||||
<p>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 </p>
|
||||
<p>In order to open a file, we will use the function open. This function takes two arguments : </p>
|
||||
<ul>
|
||||
<li>the path of the file</li>
|
||||
<li>the mode you want to open the file </li>
|
||||
</ul>
|
||||
<p>The mode can be :</p>
|
||||
<ul>
|
||||
<li>'r' : read</li>
|
||||
|
||||
@ -5,7 +5,7 @@ xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
|
||||
<url>
|
||||
<loc>redoules.github.io/</loc>
|
||||
<lastmod>2018-08-03T18:49:09-00:00</lastmod>
|
||||
<lastmod>2018-08-03T18:50:27-00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user