Skip to content

Instantly share code, notes, and snippets.

@hugollm
Created April 26, 2017 23:34
Show Gist options
  • Save hugollm/c6e4a94495bc3e3e65a448eb23d85f4c to your computer and use it in GitHub Desktop.
Save hugollm/c6e4a94495bc3e3e65a448eb23d85f4c to your computer and use it in GitHub Desktop.
Script to easily jump into a python3 virtualenv
#!/bin/bash
if [ ! -d ".env" ]; then
virtualenv -p `which python3` .env
fi
source .env/bin/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment