python3/hello

This commit is contained in:
Marc Beninca 2019-08-06 09:30:14 +02:00
parent 8962e27a9a
commit 69c18b8677

View file

@ -1,21 +1,31 @@
********
Snippets
********
========
Répertoires
===========
Détruire
--------
Hello world
-----------
.. code:: python3
import shutil
shutil.rmtree(path)
if __name__ == "__main__":
print("Hello, world!")
Directories
-----------
Remove
^^^^^^
.. code:: python3
import shutil
shutil.rmtree(path)
Web
===
---
Get
^^^
.. code:: python3
requests.get(url).content.decode(charset)
requests.get(url).content.decode(charset)