From 7233dffe9afe3bdf29a6244bb36c5f71d1ff50c1 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 21 Jan 2021 19:18:36 +0100 Subject: [PATCH] add python detail' --- IT/python/index.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/IT/python/index.md b/IT/python/index.md index b12c90f..1e9ade8 100644 --- a/IT/python/index.md +++ b/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` + + + +` + ## 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``` \ No newline at end of file +```python -m unittest tests.suite```