This commit is contained in:
Marc Beninca 2017-12-02 23:02:37 +01:00
parent 5dba54b9d5
commit 2c273a2626
100 changed files with 1534 additions and 0 deletions

8
source/python3/index.rst Normal file
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)

20
source/python3/syntax.rst Normal file
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