Browse Source

Mettre à jour 'python.md'

master
vincent 2 years ago
parent
commit
3925cd6f1f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      python.md

+ 4
- 0
python.md View File

@ -10,3 +10,7 @@ title: python
- leave venv: `deactivate`
- list all installed package in file: `pip freeze > 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