docs→rtfd

This commit is contained in:
Marc Beninca 2021-12-11 15:32:21 +01:00
parent 7bc781ed11
commit c7ec1dc5d1
131 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,13 @@
python3
=======
.. todo:: execute command
.. todo:: handle paths
.. todo:: browse file hierarchy
.. todo:: read file
.. todo:: write file
.. toctree::
syntax
snippets

View file

@ -0,0 +1,31 @@
Snippets
========
Hello world
-----------
.. code:: python3
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)

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