7 Comments

The G in Global Interpreter Lock isn't part of the hyperlink! Really good read though

Expand full comment

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

Concerning `textual-paint`... "It even handles Ctrl-Z"

That actually isn't a good idea for any program running in a terminal.

Expand full comment
Jul 30, 2023Liked by Bite Code!

"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