Why Learn Python?
Requires fewer lines of code compared to other programming languages like Java.
Provides Libraries / Frameworks like Django, Flask and many more for Web Development, and
Pandas, Tensorflow, Scikit-learn and many more for, AI/ML, Data Science and Data Analysis
Cross-platform, works on Windows, Mac and Linux without major changes.
Used by top tech companies like Google, Netflix and NASA.
Many Python coding job opportunities in Software Development, Data Science and AI/ML.
Basics
In this section, we’ll cover the basics of Python programming, including installing Python,
writing first program, understanding comments and working with variables, keywords and
operators. Before starting to learn python we need to install python on our system.
Introduction
Applications
Input and Output
Variables
Operators
Quiz: Basics, I/O
Keywords
Data Types
Quiz: Data Types, Numbers, Boolean
Conditional Statements
Loops
Quiz: Control Flow, Loops
Functions
In this section of Python 3 tutorial we'll explore Python function syntax, parameter handling,
1
return values and variable scope. Along the way, we'll also introduce versatile functions like
range(), map, filter and lambda functions.
Functions
Pass Statement in Function
Global and Local Variables
Recursion
*args and **kwargs in Function
‘Self’ as Default Argument
First Class Function
Lambda Function
Map, Reduce and Filter Function
Inner Function
Decorators
Quiz: Functions
Data Structures
Python offers versatile collections of data types, including lists, string, tuples, sets, dictionaries
and arrays. In this section, we will learn about each data types in detail.
Strings
List
Quiz: List, String
Tuples
Dictionary
Quiz: Tuples, Dictionary
2
Sets
Arrays
List Comprehension
Quiz: Sets, Arrays, List Comprehension
Python's collections module offers essential data structures, including the following:
Counters
Heapq
Deque
OrderedDict
Defaultdict
Quiz: Counters, Heapq, Deque, OrderedDict
Refer DSA with Python for Complete Tutorial.
OOP Concepts
In this section, we'll explore the core principles of object-oriented programming (OOP) in
Python. From encapsulation to inheritance, polymorphism, abstract classes and iterators, we'll
cover the essential concepts that helps you to build modular, reusable and scalable code.
Python OOP
Classes and Objects
Polymorphism
Inheritance
Abstraction
Encapsulation
3
Iterators
Quiz: OOP
Exception Handling
In this section, we'll explore Python Exception Handling that how Python deals with unexpected
errors, enabling us to write fault-tolerant code. We'll cover file handling, including reading from
and writing to files.
Exception Handling
Built-in Exception
User defined Exception
Quiz: Exception Handling