add python detail'

This commit is contained in:
vincent 2021-01-21 19:18:36 +01:00
parent f004bd4548
commit 7233dffe9a

View File

@ -2,6 +2,13 @@
## référence
https://github.com/gto76/python-cheatsheet/blob/master/README.md
Afficher les warning:```python -Wd```
Mode développement :`-X dev`
</details>
</details>`
## Virtual env
- create virtual env: `python3 -m venv /path`
- enter in virtual env: `source env/bin/activate`
@ -14,4 +21,4 @@ https://github.com/gto76/python-cheatsheet/blob/master/README.md
- la fonction dir() permet de lister les attribut d un
## unitest
### lancer une suite de tests
```python -m unittest tests.suite```
```python -m unittest tests.suite```