<p>Use <code>setvirtualenvproject</code> from <code>virtualenvwrapper</code> to associate a virtualenv with a project. This way, whenever you use <code>workon xpto</code>, <code>xpto</code> being a virtualenv, it'll activate the given virtualenv and it'll change the current directory to the project folder set #setvirtualenvproject</p>