

Also useful in this regard, python comes with a sìmple file server built in, python -m http.server --directory /dir/
would serve /dir/ on port 8000.
Also useful in this regard, python comes with a sìmple file server built in, python -m http.server --directory /dir/
would serve /dir/ on port 8000.
You misunderstand, the first two commands are just one time setup to install a specific python version and then to create an env using that version. After that all you need is `pyenv activate myenv´ to drop you into that env, which will use the correct python version and make sure everything is isolated from other environments you might have.
You can also just create an env with the system python version, but the question was specifically about managing multiple versions of python side by side and this makes that super easy.
You could also combine it with direnv
to automatically drop you into the correct environment based on the folder you are in, so you don’t have to type anything after the initial setup.
pyenv and pyenv-virtualenv together solves this for me. Virtualenv with specific python versions that work together well with other tools like pip or poetry.
It boils down to something like
$ pyenv install 3.12.7
$ pyenv virtualenv 3.12.7 myenv
$ pyenv activate myenv
and at that point you can do regular python stuff like pip installing etc.
You could give helix a try, feature/functionality wise it’s almost vim, but with 0 config needed and all commands easily discoverable which is closer to nano.
As someone who really tried to get into modal editors, both emacs and vim, for years, it was the first one where i was reasonably fast after a short time and it was easy to discover the keybindings.
Have you tried Jellyfin? It’s a FOSS fork of emby, so pretty much a drop in replacement and it’s been working very well for me.
Personally I use jellyfin as a backend, with the web interface and jellyfin app as frontend. Plus Kodi as an additional frontend for my beamer, with the Kodi Jellyfin plugin and Yatse remote to make it feel more like a TV.
one way to do this from within python itself would be to use the site module with pth files to monkeypatch the code in question. This would amount to patching it each time it gets started, not modifying the python file permanently, and without having to touch the original python code at all.
This write-up goes into more details and also links to this (unmaintained) tool for doing so.
I used to believe that it merely moves jobs, but recently started having doubts. Given the increase in productivity in the past 50 years and the stagnating wages, it’s hard to still believe. I mean, sure people will get new jobs, but I doubt it’s with similar wages and benefits.
which is pretty self defeating as there will be no one left to buy the goods produced.