Running two separate servers (was Re: venv questions)

Chris Angelico rosuav at gmail.com
Tue Aug 30 06:45:56 EDT 2022


On Tue, 30 Aug 2022 at 19:51, gene heskett <gheskett at shentel.net> wrote:
> So I'm thinking of venv's named rock64prusa, and rock64ender5+, each with
> "port#" on my local net. So chromium could have two tabs open, one to
> localhost:5000 and one to localhost:5001, totally independent of each other.
>

As I said, that has absolutely nothing to do with venvs, so you'd have
to figure out how to change their port numbers independently.

(Although you could probably add an env var to the venv's activation
script, if that would help.)

ChrisA


More information about the Python-list mailing list