whoareu to [email protected]English • 1 year agowhich python trick or hack you know that you would want to share?message-square45fedilinkarrow-up198
arrow-up198message-squarewhich python trick or hack you know that you would want to share?whoareu to [email protected]English • 1 year agomessage-square45fedilink
minus-square@[email protected]linkfedilink12•1 year agoIf you’re on Linux (or Mac), add an alias to your .bashrc: alias activate="source env/bin/activate" Now you can activate your venv by just running activate in the project root!
If you’re on Linux (or Mac), add an alias to your .bashrc:
Now you can activate your venv by just running
activate
in the project root!Very nice, now acti in my rc.