Browse Source

add python detail'

pull/2/head
vincent 1 year ago
parent
commit
7233dffe9a
  1. 9
      IT/python/index.md

9
IT/python/index.md

@ -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```

Loading…
Cancel
Save