Courses

Learn Python

15 lessons · 0 completed

Start
0%
  1. 1 Python Environment Setup & Hello World The "Why" Before the "How": Introduction to PythonSetting Up Your Python Environment (Interpreter and IDE)Your First Python Program: "Hello World"Understanding Python Syntax and Indentation
  2. 2 Core Fundamentals: Variables & Data Types Variables: Dynamic Memory Boxes for Your DataNumbers and Math: Integers, Floats, and OperationsStrings: Working with Text and FormattingBooleans and Type Conversion
  3. 3 Control Flow: Making Decisions Conditional Statements: if, elif, and elseThe 'for' Loop: Iterating Over SequencesThe 'while' Loop: Condition-Based LoopingLoop Control: break, continue, and pass
  4. 4 Data Structures: Organizing Information Lists: Ordered and Mutable CollectionsTuples: Ordered and Immutable DataDictionaries: Key-Value Pairs for Quick LookupsSets: Unordered Collections of Unique Elements
  5. 5 Functions: Reusable Code Blocks Defining and Calling FunctionsParameters and Return ValuesDefault, Keyword, and Arbitrary Arguments (*args, **kwargs)Scope: Local vs. Global Variables
  6. 6 Error and Exception Handling Understanding Syntax Errors vs. ExceptionsTry-Except Blocks: Catching Errors GracefullyFinally and Else Clauses in Error HandlingRaising Custom Exceptions
  7. 7 File Handling: Reading and Writing Data Opening, Reading, and Closing FilesWriting and Appending to Text FilesUsing the 'with' Statement for Context ManagementWorking with CSV and JSON Files
  8. 8 Object-Oriented Programming (OOP) Basics Classes and Objects: Blueprints and InstancesThe __init__ Method and Instance AttributesClass Methods vs. Instance MethodsEncapsulation: Public and Private Attributes
  9. 9 Advanced OOP Concepts Inheritance: Reusing and Extending ClassesPolymorphism: Duck Typing in PythonMagic Methods (Dunder Methods) OverviewComposition vs. Inheritance
  10. 10 Modules and Packages: Organizing Code Importing Built-in Modules (math, datetime, random)Creating Your Own ModulesPackages: Structuring Multi-File ProjectsInstalling Third-Party Packages with pip
  11. 11 Pythonic Features and Comprehensions List Comprehensions: Elegant LoopingDictionary and Set ComprehensionsLambda Functions: Anonymous One-LinersThe Walrus Operator: Assignment Expressions
  12. 12 Iterators and Generators Understanding Iterables vs. IteratorsCreating Generators with the 'yield' KeywordGenerator Expressions for Memory EfficiencyUsing the itertools Module
  13. 13 Decorators and Context Managers First-Class Functions and ClosuresCreating Simple DecoratorsDecorators with Arguments and functools.wrapsWriting Custom Context Managers
  14. 14 Asynchronous Programming & Concurrency Introduction to Concurrency vs. ParallelismAsyncio Basics: async and awaitRunning Asynchronous Tasks ConcurrentlyIntroduction to Threading and Multiprocessing
  15. 15 Testing and Debugging The Importance of Testing Your CodeWriting Unit Tests with the 'unittest' FrameworkIntroduction to 'pytest'Debugging Python Code (pdb and IDE tools)