Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy which emphasizes code readability (notably using whitespace indentation to delimit code blocks rather than curly braces or keywords), and a syntax which allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java. The language provides constructs intended to enable writing clear programs on both a small and large scale.
Python features a dynamic type system and automatic memory management and supports multiple programming paradigms, including object-oriented, imperative, functional programming, and procedural styles. It has a large and comprehensive standard library.
Python interpreters are available for many operating systems, allowing Python code to run on a wide variety of systems. CPython, the reference implementation of Python, is open source software and has a community-based development model, as do nearly all of its variant implementations. CPython is managed by the non-profit Python Software Foundation.
Overview Requirement Installation & Setup Python Shell Script Execution Standard Library’s
Identifiers Variables Naming Conventions Python Keywords
Basic Mathematic Operator Operator Precedence Comparison Operator Logical (and, or, not) Operator Identity (is, is not) operator Membership (in, not in) Operator
If, else, elif
Dictionary Operators / Functions Iterating (Lists from/to Dictionary)
while, for termination break
Introduction, Declaration Declare DocString Parameters Local and Global Variables Return Values Recursive Functions in Python
Introduction Standard Modules Import Modules Create Modules Packages
Classes Constructor and Destructor Attributes, Methods, Magic methods Objects Inheritance
Basic File Operations Pickle, Shelve
try, except, finally, else