Choose your language
To Learn Python Course
Over 2 million learners across the globe

To Learn Python Course

Learn Python from the ground up and build real programming skills you can apply immediately. This course covers everything from basic syntax to object-oriented programming, file handling, and automation. Whether you're starting fresh or filling gaps in your knowledge, you'll finish with the confidence to write clean, functional Python code.

Dedika for businesses

What you will learn:

You will start by setting up your Python environment and writing your first scripts, then progress through core data types, control flow, and functions. You will learn to work with lists, dictionaries, and other data structures to organise and process information efficiently. The course covers object-oriented programming, file handling, and working with CSV and JSON data. You will also explore error handling, automated testing, and code quality practices used by professional developers. By the end, you will have the skills to build practical Python programs and automate real-world tasks.

How you study practically To Learn Python Course

How you practise To Learn Python Course

For companies looking to train their teams

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 39 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Python Environment and Syntax Basics

  • Lesson 1 • Basic Input and Output Operations

    Teaches print() and input() for user interaction. Connects syntax knowledge to visible, interactive program behaviour.

  • Lesson 2 • Variables and Data Assignment

    Introduces variable declaration, naming conventions, and dynamic typing. Students gain the ability to store and reference data in programs.

  • Lesson 3 • Understanding Python Syntax Rules

    Covers indentation, comments, and statement structure. Correct syntax habits prevent errors throughout the entire course.

  • Lesson 4 • Installing Python and Setting Up Tools

    Install Python, configure a code editor, and verify the environment. Establishes the technical foundation every subsequent chapter depends on.

  • Lesson 5 • Running and Debugging Simple Scripts

    Covers script execution from the terminal and basic error reading. Students can independently run and fix simple programs.

Chapter 2See details

Core Data Types and Operators

  • Lesson 1 • Strings and Text Manipulation

    Introduces string creation, indexing, slicing, and common methods. Enables students to process and transform text data effectively.

  • Lesson 2 • Type Checking and Conversion

    Covers type() and isinstance() functions and explicit type casting. Students avoid type errors by understanding Python's type system.

  • Lesson 3 • Boolean Logic and Comparison Operators

    Teaches True/False values, comparison operators, and logical operators. Prepares students for conditional logic in the next chapter.

  • Lesson 4 • Numeric Types and Arithmetic

    Covers integers, floats, and complex numbers alongside arithmetic operators. Provides the numeric foundation for all calculation-based programs.

Chapter 3See details

Control Flow and Decision Making

  • Lesson 1 • Iterating with range and enumerate

    Teaches range() and enumerate() for index-aware iteration. Students write cleaner loops without manual index management.

  • Lesson 2 • Nested Loops and Complex Conditions

    Explores multi-level loops and compound boolean conditions. Prepares students for matrix operations and multi-criteria filtering.

  • Lesson 3 • Looping with for and while

    Introduces iteration over sequences and condition-based loops. Enables repetitive task automation central to practical programming.

  • Lesson 4 • Loop Control Statements

    Covers break, continue, and pass to fine-tune loop behaviour. Students write precise loops that skip, stop, or idle as needed.

  • Lesson 5 • Conditional Statements with if/elif/else

    Teaches if, elif, and else blocks for branching logic. Students control program flow based on evaluated conditions.

Chapter 4See details

Data Structures: Lists, Tuples, and Sets

  • Lesson 1 • Tuples and Immutable Sequences

    Introduces tuples as fixed, ordered collections and their use cases. Students understand when immutability is an advantage over lists.

  • Lesson 2 • Lists: Creation and Basic Operations

    Covers list syntax, indexing, slicing, and mutability. Lists are the most-used collection type and underpin later data work.

  • Lesson 3 • List Methods and Manipulation

    Teaches append, insert, remove, sort, and other list methods. Students build dynamic lists that grow and change during program execution.

  • Lesson 4 • List Comprehensions and Filtering

    Teaches concise list creation using comprehension syntax with conditions. Students write readable, Pythonic data transformations in one line.

  • Lesson 5 • Sets and Unique Collections

    Covers set creation, membership testing, and set operations. Students use sets for deduplication and mathematical collection logic.

Chapter 5See details

Dictionaries and Structured Data

  • Lesson 1 • Choosing the Right Data Structure

    Compares lists, tuples, sets, and dictionaries by performance and use case. Students make informed structural choices that improve code clarity and speed.

  • Lesson 2 • Dictionary Fundamentals

    Covers dictionary creation, key-value access, and mutability. Dictionaries are essential for structured data and JSON-like records.

  • Lesson 3 • Dictionary Methods and Iteration

    Teaches keys(), values(), items(), and iteration patterns. Students traverse and process dictionary contents systematically.

  • Lesson 4 • Dictionary Comprehensions

    Introduces concise dictionary creation using comprehension syntax. Students transform and filter data into dictionaries efficiently.

  • Lesson 5 • Nested Dictionaries and Complex Records

    Explores dictionaries containing lists or other dictionaries. Students model hierarchical data structures common in APIs and config files.

Chapter 6See details

Functions and Code Reusability

  • Lesson 1 • Parameters, Arguments, and Defaults

    Teaches positional, keyword, and default arguments for flexible function signatures. Students design functions that handle varied input gracefully.

  • Lesson 2 • Lambda Functions and Functional Tools

    Introduces anonymous functions and higher-order tools like map, filter, and sorted. Students write concise transformations without defining full functions.

  • Lesson 3 • Scope and Variable Lifetime

    Explains local, enclosing, global, and built-in scope (LEGB rule). Students avoid scope-related bugs by understanding variable visibility.

  • Lesson 4 • Defining and Calling Functions

    Covers def syntax, function calls, and return statements. Functions are the primary unit of reusable logic in Python programs.

  • Lesson 5 • Recursion and Recursive Thinking

    Covers recursive function design, base cases, and call stack behaviour. Students solve problems that decompose naturally into smaller subproblems.

Chapter 7See details

Modules, Packages, and File Handling

  • Lesson 1 • Reading and Writing Text Files

    Covers open(), read modes, and the with statement for safe file handling. Students persist and retrieve text data reliably.

  • Lesson 2 • Working with CSV and JSON Files

    Introduces the csv and json modules for structured data interchange. Students import and export real-world data formats used in most applications.

  • Lesson 3 • Managing File Paths with os and pathlib

    Teaches path manipulation using os.path and the pathlib module. Students write portable file-handling code that works across operating systems.

  • Lesson 4 • Creating Custom Modules and Packages

    Teaches how to write reusable module files and organise them into packages. Students structure multi-file projects for scalability and clarity.

  • Lesson 5 • Importing and Using Modules

    Covers import, from-import, and aliasing for accessing module functionality. Students leverage Python's standard library without reinventing solutions.

Chapter 8See details

Object-Oriented Programming in Python

  • Lesson 1 • Classes and Objects

    Covers class definition, instantiation, and the self parameter. Students create custom data types that bundle state and behaviour together.

  • Lesson 2 • Polymorphism and Duck Typing

    Covers method overriding, operator overloading, and Python's duck typing model. Students write flexible code that works with multiple object types.

  • Lesson 3 • Encapsulation and Access Control

    Teaches public, protected, and private attributes and property decorators. Students protect internal state and expose controlled interfaces.

  • Lesson 4 • Special Methods and Class Design

    Teaches dunder methods like __str__, __repr__, __len__, and __eq__. Students make custom classes behave like built-in Python types.

  • Lesson 5 • Inheritance and Class Hierarchies

    Introduces single and multiple inheritance for code reuse across related classes. Students extend existing classes without duplicating logic.

Certification

Your valid completion certificate

This course is for you:

  • Career changer: wants a marketable technical skill to enter the job market.

  • Marketing analyst: needs to automate reports and stop doing repetitive data work.

  • College student: building a programming foundation before tackling advanced coursework.

  • Hobbyist: eager to create personal tools, bots, or small useful applications.

  • Scientist or researcher: ready to replace spreadsheets with reproducible, scriptable workflows.

  • IT professional: looking to expand beyond support work into scripting and development.

What our students say

Your lessons are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can change chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the way videos are presented and transcribed, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos help a lot with learning.
André Felipe
André FelipePrompt Engineering Student

Top training programmes

FAQ

Who is Dedika?

Is the certificate valid in Kenya?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course