china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agowhich python trick or hack you know that you would want to share?message-squaremessage-square45fedilinkarrow-up196arrow-down12
arrow-up194arrow-down1message-squarewhich python trick or hack you know that you would want to share?china🇨🇳@lemmy.ca to Programming@programming.devEnglish · 2 years agomessage-square45fedilink
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up44·2 years 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-up15arrow-down2·2 years agoYou don’t need to use venv at all, break the mold and do it all global
minus-squaremister_monster@monero.townlinkfedilinkEnglisharrow-up4arrow-down3·2 years agoFuck yeah thanks man
Don’t need to activate your venv to use it.
Just use
venv/bin/python my-file.pyfrom 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