Current Version : 3.6.8 Docs on Python
On ubuntu by default python 2 is installed, but we use python 3. On command we use python3. We use the pip package manager for python. For using the python3 version of pip we use the pip3 command.
At first we need to initialize the init() function to initilize any class. Well this class does the work of a constructor in a class. After initializing we can start making the classes.
pip freeze > requirements.txt