Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
whoareu to [email protected]English • 1 year ago

which python trick or hack you know that you would want to share?

message-square
45
fedilink
98
message-square

which python trick or hack you know that you would want to share?

whoareu to [email protected]English • 1 year ago
message-square
45
fedilink
  • @[email protected]
    link
    fedilink
    44•1 year ago

    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.

    • @[email protected]
      link
      fedilink
      14•1 year ago

      You don’t need to use venv at all, break the mold and do it all global

      • @[email protected]
        link
        fedilink
        4•1 year ago

        /s

    • @[email protected]
      link
      fedilink
      English
      4•1 year ago

      Fuck yeah thanks man

[email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



  • 29 users / day
  • 154 users / week
  • 357 users / month
  • 1.82K users / 6 months
  • 3 subscribers
  • 2.32K Posts
  • 34.8K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org