Instruction completed
This commit is contained in:
parent
ee6ef92b40
commit
a33d741bd3
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
@ -1,3 +1,22 @@
|
||||||
# Python
|
# Python
|
||||||
|
|
||||||
Petits projets en Python.
|
Petits projets en Python regroupés dans des répertoires partageant un environnement virtuel similaire.
|
||||||
|
|
||||||
|
Pour installer chaque répertoire `DIR`:
|
||||||
|
```bash
|
||||||
|
cd $DIR
|
||||||
|
python -m venv ./
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour exécuter les programes:
|
||||||
|
```sh
|
||||||
|
#Shell POSIX
|
||||||
|
source ./bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour quitter l’environement:
|
||||||
|
```sh
|
||||||
|
#Shell POSIX
|
||||||
|
deactivate
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue