whoareu@lemmy.ca to Programming@programming.devEnglish · 27 days agowhich python trick or hack you know that you would want to share?message-squaremessage-square43fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squarewhich python trick or hack you know that you would want to share?whoareu@lemmy.ca to Programming@programming.devEnglish · 27 days agomessage-square43fedilink
minus-squaredrislands@lemmy.worldlinkfedilinkarrow-up0·27 days 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!
minus-squareMalReynolds@slrpnk.netlinkfedilinkEnglisharrow-up0·26 days agoVery nice, now acti in my rc.
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.