Mettre à jour 'python.md'

This commit is contained in:
vincent 2019-05-28 22:48:52 +02:00
parent de94faf152
commit 3925cd6f1f

View File

@ -10,3 +10,7 @@ title: python
- leave venv: `deactivate` - leave venv: `deactivate`
- list all installed package in file: `pip freeze > requirement.txt` - list all installed package in file: `pip freeze > requirement.txt`
- install package list in file: `pip install -r requirement.txt` - install package list in file: `pip install -r requirement.txt`
## tips
- pprint permet d afficher vos structure de données
- la fonction dir() permet de lister les attribut d un