About Lesson
An Overview of Python
- Python History and Timeline
- Python Ecosystem: Advantages and Disadvantages
- Accessing Help with
pydoc
and other resources
The Python Environment
- Setting Up Python on Different Platforms (Windows/UNIX/Linux)
- Using Python Interactive Shell and Running Python Scripts
- Choosing IDEs and Editors for Python Development
Getting Started
- Variables and Data Types
- Strings, Numbers, and Type Conversion
- Basic Input/Output
- Command-Line Arguments and Script Parameters
Control Flow
- Conditional Expressions and Operators
- Loops (for, while) and Loop Controls (break, continue)
- White Space Significance in Python
Working with Sequences
- Lists, Tuples, and Nested Structures
- List and Dictionary Comprehensions
- Sequence Operations and Functions
- Generator Expressions for Efficient Data Handling
File Handling
- Reading and Writing Text and Binary Files
- File Operations using
open()
, File Modes, and Context Managers - Struct Module for Binary Data Handling
Dictionaries and Sets
- Creating, Iterating, and Manipulating Dictionaries
- Set Operations: Union, Intersection, Difference
- Working with
defaultdict
andCounter
Functions
- Defining Functions, Parameters, and Return Values
- Function Scope (Global and Local Variables)
- Nested Functions and Lambda Expressions
Sorting and Filtering
- Sorting Data with
sorted()
and Lambda Functions - Custom Sorting using Key Functions like
operator.itemgetter()
- Filtering and Reverse Sorting
- Sorting Data with
Error Handling and Exceptions
- Handling Syntax Errors and Runtime Exceptions
- Using
try/except/else/finally
Blocks - Multiple Exceptions and Custom Exceptions
- Modules and Packages
- Importing and Organizing Code into Modules and Packages
- Module Search Path and Aliases
- Creating and Using Custom Modules
- Object-Oriented Programming (OOP)
- Understanding Classes, Objects, and Methods
- Constructors, Instance Data, and Properties
- Inheritance, Class Methods, and Static Methods
- Regular Expressions (Regex)
- Regex Syntax and Searching with RE Objects
- Grouping, Matching, and Replacement
- Advanced Regex Features and Flags
- Python Standard Library
- Overview of Key Libraries (
sys
,os
,math
,random
, etc.) - Working with CSV Files and Structured Data
- Math Functions and External Program Execution
- Dates and Times
- DateTime Module for Date/Time Manipulations
- Parsing, Formatting, and Translating Time Stamps
- Using Calendars and Scheduling Tasks
- File System Operations
- Navigating and Manipulating File Paths, Directories, and Files
- Using
os
,shutil
, andfileinput
for File Operations - File Permissions and Attributes
- Advanced Data Handling
- Pretty Printing Complex Data Structures
- Managing Compressed Archives (zip, tar, gzip)
- Handling Persistent Data with Shelve and Pickle
- Network Services
- Grabbing Web Content using
urllib
andrequests
- Sending Emails with SMTP
- Using SSH and FTP for Remote File Handling
- Building Real-Life Applications
- Parsing Command-Line Options with
argparse
- Platform Detection and Cross-Platform Compatibility
- Implementing Robust Logging and Signal Handling
4o