• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
Online Degrees
Careers
Log In
Join for Free
Coursera
Meta
Programming in Python
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews
  1. Browse
  2. Information Technology
  3. Data Management

This Labor Day, enjoy $120 off Coursera Plus. Unlock access to 10,000+ programs. Save today.

Meta

Programming in Python

This course is part of multiple programs.

This course is part of multiple programs

Meta Database Engineer Professional Certificate
Meta Full-Stack Developer Specialization
Meta Back-End Developer Professional Certificate
Meta Web Development Fundamentals Specialization
Taught by Meta Staff

Instructor: Taught by Meta Staff

132,275 already enrolled

Included with Coursera Plus

•

Learn more

5 modules
Gain insight into a topic and learn the fundamentals.
4.6

(1,727 reviews)

Beginner level

Recommended experience

Recommended experience

Beginner level

None! Learners do not need prior web development experience. Only basic internet navigation skills and an eagerness to get started with coding.

Flexible schedule
5 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course

5 modules
Gain insight into a topic and learn the fundamentals.
4.6

(1,727 reviews)

Beginner level

Recommended experience

Recommended experience

Beginner level

None! Learners do not need prior web development experience. Only basic internet navigation skills and an eagerness to get started with coding.

Flexible schedule
5 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews

What you'll learn

  • Foundational programming skills with basic Python Syntax.

  • How to use objects, classes and methods.

Skills you'll gain

  • Object Oriented Programming (OOP)
  • Unit Testing
  • Software Testing
  • Python Programming
  • Programming Principles
  • Development Environment
  • Integrated Development Environments
  • Cloud Hosting
  • Debugging
  • Data Structures
  • Django (Web Framework)
  • Computer Programming
  • Test Driven Development (TDD)

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

22 assignments

Taught in English

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

Learn more about Coursera for Business
 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • 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 5 modules in this course

In this course, you will be introduced to foundational programming skills with basic Python Syntax. You’ll learn how to use code to solve problems. You’ll dive deep into the Python ecosystem and learn popular modules, libraries and tools for Python.

You’ll also get hands-on with objects, classes and methods in Python, and utilize variables, data types, control flow and loops, functions and data structures. You’ll learn how to recognize and handle errors and you’ll write unit tests for your Python code and practice test-driven development. By the end of this course, you will be able to: • Prepare your computer system for Python programming • Show understanding of Python syntax and how to control the flow of code • Demonstrate knowledge of how to handle errors and exceptions • Explain object-oriented programming and the major concepts associated with it • Explain the importance of testing in Python, and when to apply particular methods This is a beginner course for learners who would like to prepare themselves for a career in back-end development or database engineering. To succeed in this course, you do not need prior web development experience, only basic internet navigation skills and an eagerness to get started with coding.

Get started with the Python programming language and associated foundational concepts.

What's included

19 videos17 readings3 assignments1 programming assignment1 discussion prompt1 plugin

19 videos•Total 88 minutes
  • Introduction to the Course•2 minutes
  • How is Python used in the real world?•2 minutes
  • Introduction to Programming•4 minutes
  • Why Python?•2 minutes
  • Environment check for Windows•2 minutes
  • Environment check for Mac•3 minutes
  • Running code - Command line VS IDE•3 minutes
  • Python syntax, spaces matter•3 minutes
  • Variables•6 minutes
  • Basic data types•6 minutes
  • Strings•5 minutes
  • Type casting•2 minutes
  • User input, console output•8 minutes
  • Math and logical operators•7 minutes
  • Control flow: If / else, else if•6 minutes
  • Match statement•6 minutes
  • Looping constructs•5 minutes
  • Nested loops and the effect on algorithmic complexity•5 minutes
  • Module summary: Getting started with Python•1 minute
17 readings•Total 135 minutes
  • Course syllabus•5 minutes
  • How to be successful in this course•10 minutes
  • Visual Studio Code•5 minutes
  • Installing Python paths (Optional for Windows Users)•5 minutes
  • Installing Python paths (Optional for Mac users)•5 minutes
  • Required dependencies•5 minutes
  • Python syntax cheat sheet•0 minutes
  • Commenting code•5 minutes
  • Basic Data type and Function Cheatsheet•10 minutes
  • Type casting, a deeper look•10 minutes
  • Additional resources•5 minutes
  • Conditional statements•15 minutes
  • Looping Constructs: Practical Examples•5 minutes
  • Practicing control flow and loops•5 minutes
  • Exercise: Use control flow and loops to solve a problem•30 minutes
  • Use control flow and loops to solve a problem - solution•10 minutes
  • Additional resources•5 minutes
3 assignments•Total 60 minutes
  • Knowledge check - Welcome to Python Programming•20 minutes
  • Self-review: Use control flow and loops to solve a problem•10 minutes
  • Module quiz: Getting started with Python•30 minutes
1 programming assignment•Total 180 minutes
  • Type casting input•180 minutes
1 discussion prompt•Total 10 minutes
  • What do you hope to learn?•10 minutes
1 plugin•Total 15 minutes
  • Python loops•15 minutes

Learn basic Python syntax, to use control flow and loops and work with functions and data structures. You will also learn how to recognise possible errors, their causes and how to handle them.

What's included

13 videos9 readings5 assignments2 programming assignments1 plugin

13 videos•Total 57 minutes
  • Functions•5 minutes
  • Variable scope•4 minutes
  • Lists•5 minutes
  • Tuples•3 minutes
  • Sets•4 minutes
  • Dictionaries•6 minutes
  • kwargs•2 minutes
  • What are exceptions•2 minutes
  • Exception handling•4 minutes
  • File handling in Python•5 minutes
  • Creating Files•5 minutes
  • Reading Files•5 minutes
  • Module summary: Basic Programming with Python•1 minute
9 readings•Total 120 minutes
  • Function and variable scope•15 minutes
  • What are data structures?•10 minutes
  • Choosing and using data structures•15 minutes
  • Visual Studio Code on Coursera•10 minutes
  • Additional resources•5 minutes
  • Exercise: Exceptions in Python•30 minutes
  • Exceptions in Python - solution•10 minutes
  • Storing file contents in data structures•20 minutes
  • Additional resources•5 minutes
5 assignments•Total 80 minutes
  • Functions, loops and data structures•15 minutes
  • Knowledge check: Functions and Data structures•15 minutes
  • Exceptions in Python•10 minutes
  • Read in data, store, manipulate and output new data to a file•15 minutes
  • Module quiz: Basic Programming with Python•25 minutes
2 programming assignments•Total 360 minutes
  • Functions, loops and data structures•180 minutes
  • Read in data, store, manipulate and output new data to a file•180 minutes
1 plugin•Total 15 minutes
  • Lists, tuples, sets, and dictionaries•15 minutes

Learn about the paradigms of procedural programming and the associated logical concepts. You'll explore functional and object-oriented programming, and get an introduction to algorithms.

What's included

16 videos19 readings9 assignments2 programming assignments

16 videos•Total 74 minutes
  • What is procedural programming?•4 minutes
  • Algorithms•5 minutes
  • Algorithmic complexity•3 minutes
  • What is functional programming?•3 minutes
  • Pure functions•6 minutes
  • Recursion•3 minutes
  • Reversing a string on Python•4 minutes
  • Map & filter•4 minutes
  • Introduction to Object Oriented Programming•5 minutes
  • Python classes and instances•4 minutes
  • Instantiate a custom Object•4 minutes
  • Instance methods•4 minutes
  • Parent classes vs. child classes•6 minutes
  • Abstract classes and methods•4 minutes
  • Method Resolution Order•5 minutes
  • Module summary: Programming paradigms•2 minutes
19 readings•Total 330 minutes
  • Writing Algorithms•20 minutes
  • Exercise: Make a cup of coffee•10 minutes
  • Make a cup of coffee - solution•10 minutes
  • Intro to Big-O notation•15 minutes
  • Additional resources•5 minutes
  • Recursion example: Tower of Hanoi•10 minutes
  • Comprehensions•30 minutes
  • Additional resources•5 minutes
  • OOP Principles•20 minutes
  • Exercise: Define a Class•30 minutes
  • Define a Class - solution•10 minutes
  • Exercise: Instantiate a custom Object•30 minutes
  • Instantiate a custom Object - solution•10 minutes
  • Inheritance and Multiple Inheritance•30 minutes
  • Exercise: Classes and object exploration•30 minutes
  • Working with Methods: Examples•20 minutes
  • Exercise: Working with Methods•30 minutes
  • Working with Methods - solution•10 minutes
  • Additional resources•5 minutes
9 assignments•Total 127 minutes
  • Self-review: Make a cup of coffee•10 minutes
  • Knowledge check: Procedural Programming•12 minutes
  • Mapping key values to dictionary data structures•12 minutes
  • Knowledge check: Functional Programming•12 minutes
  • Self-review: Define a Class•12 minutes
  • Self-review: Instantiate a custom Object•12 minutes
  • Abstract classes and methods•15 minutes
  • Self-review: Working with Methods•18 minutes
  • Module quiz: Programming Paradigms•24 minutes
2 programming assignments•Total 360 minutes
  • Mapping key-values to Dictionary data structures •180 minutes
  • Abstract Classes and Methods•180 minutes

Supercharge your coding environment with popular modules libraries and tools for Python. You'll also learn about the different types of testing and how to write a test.

What's included

17 videos7 readings4 assignments2 programming assignments1 discussion prompt

17 videos•Total 73 minutes
  • What is a module in Python?•4 minutes
  • Accessing modules•3 minutes
  • The import statement•4 minutes
  • Writing import statements•5 minutes
  • Namespacing and scoping•7 minutes
  • reload() function•4 minutes
  • Popular packages: NumPy, pandas, Matplotlib, etc•4 minutes
  • Data analysis packages•4 minutes
  • Machine learning, deep learning and AI: PyTorch, TensorFlow•2 minutes
  • Python web frameworks•3 minutes
  • What is testing?•5 minutes
  • Types of testing•4 minutes
  • Test automation packages•4 minutes
  • Writing tests with PyTest•4 minutes
  • Test-driven development (TDD)•3 minutes
  • Applying TDD•3 minutes
  • Module summary: Modules, packages, libraries and tools•2 minutes
7 readings•Total 105 minutes
  • Module Use-cases•30 minutes
  • Additional resources•5 minutes
  • Popular Packages: Examples•30 minutes
  • Big Data and Analysis with Python•15 minutes
  • Additional Resources•10 minutes
  • PyTest cheat sheet•10 minutes
  • Additional resources•5 minutes
4 assignments•Total 72 minutes
  • Knowledge check: Modules•18 minutes
  • Knowledge check: Popular Packages, Libraries and Frameworks•15 minutes
  • Testing quiz•15 minutes
  • Module quiz: Modules, packages, libraries and tools•24 minutes
2 programming assignments•Total 360 minutes
  • Import and Scope•180 minutes
  • Writing PyTest Test Cases for String Validation•180 minutes
1 discussion prompt•Total 10 minutes
  • What do you consider to be the difference between machine learning and AI?•10 minutes

Practice and reflect on the skills you learned in this course.

What's included

2 videos2 readings1 assignment2 discussion prompts

2 videos•Total 3 minutes
  • Course Recap: Programming in Python•1 minute
  • Congratulations, you have completed Programming in Python•1 minute
2 readings•Total 10 minutes
  • About the End-of-Course Graded Assessment•5 minutes
  • Next steps after Programming in Python•5 minutes
1 assignment•Total 45 minutes
  • End-of-Course Graded Assessment: Using Python•45 minutes
2 discussion prompts•Total 20 minutes
  • Discuss challenges that you had with your fellow learners•10 minutes
  • What did you find most challenging about learning to program in Python?•10 minutes

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

Instructor ratings

Instructor ratings

We asked all learners to give feedback on our instructors based on the quality of their teaching style.

4.6 (516 ratings)
Taught by Meta Staff
Taught by Meta Staff
Meta
129 Courses•1,173,760 learners

Offered by

Meta

Offered by

Meta

Meta builds technologies that help people connect with friends and family, find communities, and grow businesses. The Meta Professional Certificates create opportunities so that anyone regardless of education, background or experience can learn high-quality skills to land a high-growth career—no degree or experience required to get started. Meta also offers training courses on the metaverse to educate people, brands, businesses and professionals on the opportunities it presents and what it means for our world today and into the future.

Explore more from Data Management

  • Status: Free Trial
    Free Trial
    N

    Northeastern University

    Basic Programming in Python II

    Course

  • Status: Free Trial
    Free Trial
    N

    Northeastern University

    Basic Programming in Python I

    Course

  • Status: Free Trial
    Free Trial
    R

    Rice University

    Python Programming Essentials

    Course

  • Status: Free Trial
    Free Trial
    M

    Microsoft

    Python Programming Fundamentals

    Course

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."

Learner reviews

4.6

1,727 reviews

  • 5 stars

    74.26%

  • 4 stars

    18.04%

  • 3 stars

    4.16%

  • 2 stars

    1.79%

  • 1 star

    1.73%

Showing 3 of 1727

N
NW
4

Reviewed on Dec 23, 2024

Overall, the course is well formed and structured and touched all-important of the language. There are several errors in the course video and questions, notes etc. though.

S
SY
5

Reviewed on Oct 8, 2022

G​reat course.

I wish it was a little more practical and functional. Nonetheless, it is far ahead of all other Python courses online. GlenMate.com

A
AM
5

Reviewed on Jul 12, 2023

Excellent course. A true beginner might feel that the course is fast-paced. You can use Google and Youtube to get more explanations, exercises, and lessons.This is what I did.Good luck everyone

View more reviews
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Learn more

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Explore degrees

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Learn more

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policy.

More questions

Visit the learner help center

Financial aid available,

Coursera Footer

Technical Skills

  • ChatGPT
  • Coding
  • Computer Science
  • Cybersecurity
  • DevOps
  • Ethical Hacking
  • Generative AI
  • Java Programming
  • Python
  • Web Development

Analytical Skills

  • Artificial Intelligence
  • Big Data
  • Business Analysis
  • Data Analytics
  • Data Science
  • Financial Modeling
  • Machine Learning
  • Microsoft Excel
  • Microsoft Power BI
  • SQL

Business Skills

  • Accounting
  • Digital Marketing
  • E-commerce
  • Finance
  • Google
  • Graphic Design
  • IBM
  • Marketing
  • Project Management
  • Social Media Marketing

Career Resources

  • Essential IT Certifications
  • High-Income Skills to Learn
  • How to Get a PMP Certification
  • How to Learn Artificial Intelligence
  • Popular Cybersecurity Certifications
  • Popular Data Analytics Certifications
  • What Does a Data Analyst Do?
  • Career Development Resources
  • Career Aptitude Test
  • Share your Coursera Learning Story

Coursera

  • About
  • What We Offer
  • Leadership
  • Careers
  • Catalog
  • Coursera Plus
  • Professional Certificates
  • MasterTrack® Certificates
  • Degrees
  • For Enterprise
  • For Government
  • For Campus
  • Become a Partner
  • Social Impact
  • Free Courses
  • ECTS Credit Recommendations

Community

  • Learners
  • Partners
  • Beta Testers
  • Blog
  • The Coursera Podcast
  • Tech Blog

More

  • Press
  • Investors
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Contact
  • Articles
  • Directory
  • Affiliates
  • Modern Slavery Statement
  • Do Not Sell/Share
Learn Anywhere
Download on the App Store
Get it on Google Play
Logo of Certified B Corporation
© 2025 Coursera Inc. All rights reserved.
  • Coursera Facebook
  • Coursera Linkedin
  • Coursera Twitter
  • Coursera YouTube
  • Coursera Instagram
  • Coursera TikTok
Coursera

Sign up

Learn on your own time from top universities and businesses.

​
​
Between 8 and 72 characters
Your password is hidden
​

or

Already on Coursera?


Having trouble logging in? Learner help center

This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.