KDE Social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
china🇨🇳 to Programming@programming.devEnglish • 1 year ago

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

message-square
45
fedilink
96
message-square

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

china🇨🇳 to Programming@programming.devEnglish • 1 year ago
message-square
45
fedilink
  • @drislands@lemmy.world
    link
    fedilink
    12•1 year ago

    If 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!

    • @MalReynolds@slrpnk.net
      link
      fedilink
      English
      2•1 year ago

      Very nice, now acti in my rc.

Programming@programming.dev

!programming@programming.dev

Subscribe from Remote Instance

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: !programming@programming.dev

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 !webdev@programming.dev



  • 327 users / day
  • 889 users / week
  • 3.24K users / month
  • 8.03K users / 6 months
  • 22.2K subscribers
  • 2.4K Posts
  • 36.8K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org