Introduction to Python
Why Python?
Installation of Python on Windows, Linux
Setting Local Environment
First Python Program
Using Python Interpreter (Interactive Mode IDLE)
Python fundamentals (Multiline Statements and Comments)
Variables and Basic Data Types
Python Variable
Numbers and Boolean
Strings
Python Operators
Arithmetic Operator
Comparison Operator
Logical Operator
Assignment Operator
Bitwise Operator
Quiz on Python Variables, Basic Data Types and Operators
Submit Quiz
Conditional Statements
Conditional Statements
Indentation and Related Errors
Loops in Python
Range() function
For Loop
While Loop
Nested Loop
Usage of Continue, Break and Pass keywords
Quiz on Conditional Statements and Loops
Submit Quiz
More on Data Types and In-Built Functions
String and its functions
List and its functions
Tuple and its functions
MemberShip Operator
Identity Operator
Set and Frozen Set and its functions
Dictionary and its functions
Code Comprehensions (List, Dictionary)
Functions in Python
#python #coding #learning #python3 #education #pythonforbeginner #pythonforbegginers
Introduction to function (Defining and calling functions)
Styles of writing functions
Types of return statements
Types of arguments (Required, Default, Keyword, Variable Length (Tuple and Dictionary))
Variable Scope - Global vs Local
Types of Functions (recursive and anonymous functions)
More on Lambda Function - map(), reduce(), zip(), filter() function
Quiz on Data Types and Functions (In-Built and User defined)
Submit Quiz
Modules in Python
Understanding modules
Importing standard modules
Usage of in-built modules (String, Math, Datetime, Random)
Locating modules
Creating module
Module namespaces and scoping
File Operation in Python
What is a file?
Modes in file (read, write, append, binary modes)
Methods in file operations
File Handling using OS (creating & changing directory, rename & deleting file)
Command Line inputs (using sys)
Serialization and Deserialization (using pickle)
Quiz on Modules and File Operations
Submit Quiz
OOP in Python
Introduction to OOP
Classes & Objects
Methods and attributes (user defined methods, constructor and destructor, meaning of self, access modifiers)
Static variables and methods
Inheritance and its types
Method Overriding
Operator overloading
Exception Handling
What are Errors and Exceptions?
Types of in-built Exceptions
Handling an Exception (try, except, finally, else)
Raising an Exception
Custom Exception
Quiz on OOP and Exception Handling
Submit Quiz