Packt

Python Foundations: From Setup to Data Structures

Grow on your schedule with big savings on Coursera Plus. Save 40% for 3 months.

Packt

Python Foundations: From Setup to Data Structures

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Install and configure Python on macOS and Windows

  • Implement object-oriented programming using classes and inheritance

  • Create and manage variables, functions, and data types

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

August 2026

Assessments

20 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Learn to Code with Python Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 20 modules in this course

This module provides an overview of the course structure, key objectives, and essential tools needed to learn Python. Learners will gain clarity on the skills they will develop and the overall learning journey. It sets the foundation for effective course engagement.

What's included

1 video1 reading

This module guides learners through the foundational setup of Python programming on both macOS and Windows, covering installation of Python, Visual Studio Code, and essential development tools. It also introduces key concepts like the Python REPL and basic command-line usage. By the end, learners will be equipped to start coding confidently in a properly configured environment.

What's included

15 videos1 assignment

This module introduces foundational Python concepts including string manipulation, function definitions, and the use of the print function with various arguments and parameters. Learners will also explore coding practices such as adding comments and using documentation strings for clarity.

What's included

7 videos1 assignment

This module covers fundamental Python data types, including numbers, booleans, and strings, along with essential operations such as arithmetic, comparison, and type conversion. Learners will gain practical skills in writing and evaluating logical expressions and using Python's built-in functions effectively.

What's included

6 videos1 assignment

This module introduces learners to the fundamentals of variables in Python, including declaration, assignment, input handling, and common error types. It provides practical coding exercises to reinforce understanding and build confidence in writing robust Python code.

What's included

6 videos1 assignment

This module covers the fundamentals of functions in Python, including how to define, use, and structure functions for better code organization and reusability. Learners will explore parameters, return values, default arguments, and the None type, as well as bonus topics like function annotations. By the end, students will have the skills to write and manage functions effectively in their programs.

What's included

9 videos1 assignment

This module introduces fundamental string operations in Python, including length, concatenation, immutability, indexing, slicing, escape characters, and substring checks. Learners will gain practical skills in manipulating and working with strings effectively.

What's included

11 videos1 assignment

This module covers essential string manipulation techniques in Python, including searching, modifying, formatting, and checking string properties. Learners will gain hands-on experience with methods like find, count, replace, and format, as well as understand string immutability and casing transformations.

What's included

11 videos1 assignment

This module covers essential concepts in control flow, including conditional logic, boolean expressions, and looping structures. Learners will gain proficiency in using if, else, elif, and while statements, as well as understanding how to combine conditions with logical operators. The module also introduces the basics of recursion and how to apply these concepts in practical coding scenarios.

What's included

17 videos1 assignment

This module introduces learners to Python lists, covering their creation, indexing, slicing, and common operations. Through coding exercises and explanations, students will gain hands-on experience with list manipulation and problem-solving.

What's included

8 videos1 assignment

This module covers the fundamentals of iterating over lists in Python using for loops, conditional logic, and built-in functions like enumerate, reversed, and range. Learners will gain practical skills in controlling loop behavior with break and continue, and handling command-line arguments effectively.

What's included

11 videos1 assignment

This module introduces essential debugging techniques in Visual Studio Code, focusing on navigating code execution, understanding variable scopes, and applying problem-solving strategies to resolve errors in Python programs.

What's included

4 videos1 assignment

This module covers the fundamentals of list mutation in Python, including modifying elements, adding and removing items, and reordering lists. Learners will gain hands-on experience with list methods and slicing techniques to manipulate data effectively. The content also includes practical exercises to reinforce key concepts.

What's included

17 videos1 assignment

This module focuses on mastering essential list methods in Python, including counting, indexing, copying, and manipulating strings with split and join. It also covers advanced topics like multidimensional lists, list comprehensions, and the zip function. Learners will gain hands-on experience through coding exercises and solutions, reinforcing their ability to work efficiently with data structures.

What's included

13 videos1 assignment

This module covers essential Python built-in functions used for data manipulation, documentation lookup, and code efficiency. Learners will explore functions like map(), filter(), lambda, and others to process and transform data effectively. By the end, learners will be able to use these tools in practical coding scenarios.

What's included

11 videos1 assignment

This module explores the fundamentals of tuples in Python, including their creation, comparison with lists, and techniques for unpacking and using them in functions. Learners will gain practical skills in working with immutable data structures and handling variable argument lists.

What's included

8 videos1 assignment

This module explores fundamental concepts in Python such as variables, object references, and memory management. Learners will gain an understanding of how Python handles mutable and immutable types, equality checks, and object copying to prevent unintended side effects. The content equips learners with the knowledge to write more efficient and bug-free Python code.

What's included

4 videos1 assignment

This module introduces the fundamentals of Python dictionaries, including how to create, access, update, and manipulate them. Learners will explore key operations such as using the get() method, checking for key existence, and working with nested structures. By the end, they will be able to effectively use dictionaries in real-world programming tasks.

What's included

13 videos1 assignment

This module covers advanced techniques for working with dictionaries in Python, including iteration methods, sorting, nested structures, and comprehensions. Learners will gain the ability to manipulate and process dictionary data efficiently, as well as handle dynamic argument passing using **kwargs. The module includes coding exercises and solutions to reinforce practical skills.

What's included

14 videos1 assignment

This module provides an in-depth exploration of Python sets, covering their creation, manipulation, and use in data operations. Learners will gain hands-on experience with set methods and understand how sets differ from other data structures. The content emphasizes practical applications and problem-solving with sets.

What's included

11 videos1 reading2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,238 Courses656,908 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions