Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kissgyorgy
on July 5, 2021
|
parent
|
context
|
favorite
| on:
Python Best Practices for a New Project in 2021
For VSCode to recognize the virtualenvs created by Poetry, you just have to add a setting for the Python extension:
"python.venvFolders": [ "~/.cache/pypoetry/virtualenvs", "~/.pyenv/versions", ],
This will make VSCode automatically recognize virtualenv interpreters, so you can select them without starting code from an activated shell.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: