Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 635 Bytes

File metadata and controls

18 lines (11 loc) · 635 Bytes

Python Basics

Current Version : 3.6.8 Docs on Python

Usage and Package Maneger

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.

Python Classes and Objects

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.

To make automatic Requirement list

pip freeze > requirements.txt