Update python.md
This commit is contained in:
parent
2938164c9d
commit
8f64e8f60d
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue