2 hours ago · 6 min read1140 words · Tech · 0 comments

While I decide what to do with PEP 832 after polling folks on their opinion, I thought I would write out why I'm even bothering with any of this.I'm going to talk from the perspective of VS Code and its Python extensions, but you could just as easily substitute "VS Code" for your editor of choice or even "AI agent" and it wouldn't change the problem: it isn't necessarily easy for tools like VS Code to know what workflow (tool) you're using and thus where you're putting your (virtual) environment(s) (I'm going to say "environment" as a stand-in for virtual environments, conda environments, etc.). Knowing where the environment lives is important in order to know how to run your code (as the environment will have a Python interpreter that you can use), analyze your dependencies (so linting, auto-complete, etc. do the right thing), etc. So having a way to communicate to VS Code where to find the environment is important.The problemsFirst time seeing a projectWhen you first open a project…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.