StringsOnFire StringsOnFire - 1 year ago 117
Python Question

How can I use a postactivate script using Python 3 venv?

I'm using

to create the environment) and would like to set up environment variables here, but
looks like a
thing. Can this be done with

Answer Source

venv has the activate script which you can modify to add your environment variables.

I would add the variables at the bottom, making a nice comment block to clearly separate the core functionality and my custom variables.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download