whoareu@lemmy.ca to Programming@programming.devEnglish · 1 month agowhich python trick or hack you know that you would want to share?message-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 · 1 month agomessage-square43fedilink
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·1 month agoDon’t need to activate your venv to use it. Just use venv/bin/python my-file.py from a script or a terminal from your project root.
minus-squareMojave@lemmy.worldlinkfedilinkarrow-up0·1 month agoYou don’t need to use venv at all, break the mold and do it all global
Don’t need to activate your venv to use it.
Just use
venv/bin/python my-file.py
from a script or a terminal from your project root.You don’t need to use venv at all, break the mold and do it all global
/s
Fuck yeah thanks man