Dec-22-2016, 04:08 AM
user@mothership myhellowebapp $ pwd
/home/user/projects/python/django-projects/myhellowebapp
user@mothership myhellowebapp $ ls -al
total 16
drwxr-xr-x 4 user user 4096 Dec 20 22:39 .
drwxr-xr-x 3 user user 4096 Dec 20 22:37 ..
drwxr-xr-x 7 user user 4096 Dec 20 22:39 .git
drwxr-xr-x 7 user user 4096 Dec 20 22:35 venv
user@mothership myhellowebapp $ source venv/bin/activate
(venv) user@mothership myhellowebapp $ which python
/usr/bin/python
(venv) user@mothership myhellowebapp $ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Dec 7 19:11 /usr/bin/python -> python2.7
/home/user/projects/python/django-projects/myhellowebapp
user@mothership myhellowebapp $ ls -al
total 16
drwxr-xr-x 4 user user 4096 Dec 20 22:39 .
drwxr-xr-x 3 user user 4096 Dec 20 22:37 ..
drwxr-xr-x 7 user user 4096 Dec 20 22:39 .git
drwxr-xr-x 7 user user 4096 Dec 20 22:35 venv
user@mothership myhellowebapp $ source venv/bin/activate
(venv) user@mothership myhellowebapp $ which python
/usr/bin/python
(venv) user@mothership myhellowebapp $ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Dec 7 19:11 /usr/bin/python -> python2.7