Update python.md

This commit is contained in:
Sander Hautvast 2024-05-08 13:32:01 +02:00 committed by GitHub
parent 2938164c9d
commit 8f64e8f60d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,11 @@
## New python project with virtual env in ZED ## New python project with virtual env in ZED
* create $PROJECT `mkdir project; cd project` * create $PROJECT
* create `python -m venv .venv` ```bash
* activate `source .venv/bin/activate` mkdir project; cd project
python -m venv .venv
activate `source .venv/bin/activate
```
* create pyrightconfig.json * create pyrightconfig.json
```bash ```bash