Creating and using virtualenv

To create a virtualenv, run

On Ubuntu 18, this command will create virtualenv with Python 2.7. To create virtualenv with Python 3, run

Here “venv” is my virtualenv name. To activate virtialenv, go to the folder where your virtialenv folder is present, then run

You will see name of your virtualenv on […]

Read More…


Install virtualenv on Ubuntu Creating and using virtualenv virtualenv is used to create isolated python environments. With python3, you can create virtualenv with command

Install virtualenv with setuptools

Create a folder

Create virtualenv

Activate virtualenv

To exit a virtualenv, run


Read More…

Install jupyter notebook

To install jupyter notebook on Ubuntu run

To start jupyter notebook, create an empty folder, change to it

Now run

By default, it bind to localhost. If you want to run on a public IP, run as follows

Example […]

Read More…

Django Framework

Django is a Python framework. You can find more info at Django Tutorials Getting started with Django Framework Create Project

Create New Application

Run Server

Django framework run server command start development web server on port 8000 To run server on port 80, use

if you are running as […]

Read More…