china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agowhich python trick or hack you know that you would want to share?message-squaremessage-square34linkfedilinkarrow-up176arrow-down12
arrow-up174arrow-down1message-squarewhich python trick or hack you know that you would want to share?china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agomessage-square34linkfedilink
minus-squaredrislands@lemmy.worldlinkfedilinkarrow-up10·2 years 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
activatein the project root!