This commit is contained in:
Marc Beninca 2018-05-13 00:28:35 +02:00
parent 7878ae5409
commit 1d4f8a74f7
9 changed files with 4 additions and 10 deletions

View file

@ -0,0 +1,8 @@
#######
Python3
#######
.. toctree::
syntax
snippets

View file

@ -0,0 +1,21 @@
********
Snippets
********
Répertoires
===========
Détruire
--------
.. code:: python3
import shutil
shutil.rmtree(path)
Web
===
.. code:: python3
requests.get(url).content.decode(charset)

View file

@ -0,0 +1,20 @@
******
Syntax
******
Imports
=======
.. code:: python3
import module
module.py → module/__init__.py
------------------------------
* __init__.py
first/module.py → second/module.py
----------------------------------
* first