• CV
  • Blog
  • Contacts
    • Facebook
    • LinkedIn
    • GitHub
    • Twitter
    • Google+
    • LiveJournal
    • VK
  • РусскийРусский

Anamnesis

of a kooky software developer with megalomaniacal inferiority complex

workon

Automatically activate virtualenv on cd (even in mc)

27.07.2012 by Sergey Vasilyev 3 Comments

If you work with Python, you probably work with virtualenv. If you work with virtualenv, you probably work with virtualenvwrapper. Nevertheless, if you work a lot with many virtualenvs at the same time, you may become tired of al these “. bin/activate” or “workon smthng”.

You just want to cd into your project directory, and have everyhting ready to work. Especially if you use two-pane file managers, such as Midnight Commander, for file operations and tree browsing, and prefer not to type shell commands when it is not neccessary.

Here is how I do that:

[Read more…]

Posted in: Development, Life Hacks Tagged: bash, python, shell, venv, virtualenv, workon

Categories

Development Job Knowhows Life Hacks Management Nothings Traveling Word of the Day

Tags

amazon apple archive aws backup bash blog business canada capslock career cloud development document english experiment file image job keyboard keyremap4macbook language layout lifehack macbook macosx mac os x management password pckeyboardhack photo psychology python russia russian shell startup storage team toronto us venv virtualenv windows workon

Copyright © 2023 Anamnesis.

Omega WordPress Theme by ThemeHall