add python detail'
This commit is contained in:
parent
f004bd4548
commit
7233dffe9a
@ -2,6 +2,13 @@
|
|||||||
## référence
|
## référence
|
||||||
https://github.com/gto76/python-cheatsheet/blob/master/README.md
|
https://github.com/gto76/python-cheatsheet/blob/master/README.md
|
||||||
|
|
||||||
|
Afficher les warning:```python -Wd```
|
||||||
|
Mode développement :`-X dev`
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
</details>`
|
||||||
|
|
||||||
## Virtual env
|
## Virtual env
|
||||||
- create virtual env: `python3 -m venv /path`
|
- create virtual env: `python3 -m venv /path`
|
||||||
- enter in virtual env: `source env/bin/activate`
|
- 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
|
- la fonction dir() permet de lister les attribut d un
|
||||||
## unitest
|
## unitest
|
||||||
### lancer une suite de tests
|
### lancer une suite de tests
|
||||||
```python -m unittest tests.suite```
|
```python -m unittest tests.suite```
|
||||||
|
Loading…
Reference in New Issue
Block a user