Discussion about this post

User's avatar
Daylin's avatar

"As I have several lone Python scripts lying around that would really benefit from this, especially if you can keep the env around in the future."

This is possible with github.com/daylinmorgan/viv. Can be used similar to pip-run. But additionally can be used via curl or as a standalone function in your seldom one-off scripts.

Expand full comment
George's avatar

I like to use pipx (https://pypa.github.io/pipx/) to run python programs in an isolated environment. It basically does what you said, create a virtualenv for a single software. As for the linter in VSCode, I am really enjoying Ruff (https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff). It is insanely fast.

Expand full comment
5 more comments...

No posts