Python – Creating a Virtual Environment for Python2 or Python3

1. Install virtualenv. 2. cd into your project directory. 3. Create virtual environment. This will create venv directory under your project. 4. Activate virtualenv Done. Install whatever package you need for your project using More… If you are creating a virtual environment for python3, and you have python3 at the system level, simply replace step… Continue reading Python – Creating a Virtual Environment for Python2 or Python3

Saving SSH session in Terminal

For Windows users, use PuTTY. For Mac users, locate to .ssh folder which is under the root folder and create a file named “config” – you can simply use TextEdit. Note: since .ssh folder is hidden, you can type the below command to view hidden files. In your “config’ file, write and save the server… Continue reading Saving SSH session in Terminal