Skill brief
How Long to Learn Python in 2026: Hours, Cost and Pay
Six Python courses state 3 to 35 hours (median 18), read 4 December 2026. The cheapest paid route with a plain monthly price and pace in months is Coursera Plus: $118 for 2 months. Software developers (15-1252.00) earn a BLS median of $135,980 a year (via O*NET OnLine, 2025), the middle of everyone in the occupation at every level of experience, not a starting salary. Pick CS50P to start free, Learn Python 3 for a certificate. Hiring is weaker than the pay suggests: job postings in Indeed's Software Development sector were 18% below their February 2020 level on 13 November 2026, while BLS projects 10% more software developer jobs by 2035.
Stations on this page
- Course length
- 3 to 35 h6 courses, median 18 h
- Cost to learn
- $0 to $14,900free course to bootcamp tuition
- Certificate exam
- $69PCEP-30-03 exam voucher
- Median pay
- $135,980 a yearSoftware developers, BLS via O*NET, 2025
- Hiring outlook
- 10%, 2025 to 2035Job postings 81.7 (Feb 2020 = 100), Indeed
Figures read on on codecademy.com, flatironschool.com, ums.edube.org, onetonline.org and bls.gov.
Every length below is the number a provider prints on its own page, not a promise of how long you will take. The PCEP exam voucher alone, $69, costs less than that $118 route, but it buys no lessons.
18 hours
The Skill Brief data: 18 hours is the median stated length of the 6 named Python courses read on 4 December 2026, which run 3 to 35 hours; the cheapest paid route with a plain monthly price and pace in months costs $118 (Coursera Plus, 2 months), and software developers (15-1252.00) earn a BLS median of $135,980 a year (via O*NET OnLine, 2025).
The Python line: 6 courses by stated length
Each station is a named course and the total length its provider states, in hours, shortest first. Programs that state months or weeks stay in the course table below, since a month is not converted into hours here.
The Python line
Each station is a named course and the length its provider states in hours, shortest first.
- 3 hPython for ProgrammersCodecademy, stated course length
- 5 hIntroduction to Python ProgrammingDataquest, stated course length
- 16 hLearn Python for Data ScienceCodecademy, stated Skill Path length
- 20 hLearn Intermediate Python 3Codecademy, stated course length
- 24 hLearn Python 3Codecademy, stated course length
- 35 hIntermediate PythonUdacity, stated Nanodegree Program length
| Station | Provider | Length | Source |
|---|---|---|---|
| Python for Programmers | Codecademy | 3 hours | Codecademy page |
| Introduction to Python Programming | Dataquest | 5 hours | Dataquest page |
| Learn Python for Data Science | Codecademy | 16 hours | Codecademy page |
| Learn Intermediate Python 3 | Codecademy | 20 hours | Codecademy page |
| Learn Python 3 | Codecademy | 24 hours | Codecademy page |
| Intermediate Python | Udacity | 35 hours | Udacity page |
Lengths read on each provider's page on 4 December 2026. Codecademy labels its figure an average based on combined completion rates, with individual pacing varying.
The three courses labeled beginner state 5 to 24 hours: Introduction to Python Programming (5 hours, 5 lessons, 1 project), Learn Python for Data Science (16 hours, 5 units, 6 projects) and Learn Python 3 (24 hours, 14 projects, no prerequisites). The shortest station, Python for Programmers at 3 hours, is described by Codecademy as an introduction "for experienced programmers", and the two courses named Intermediate state 20 and 35 hours. The median of 18 hours sits between the 16-hour skill path and the 20-hour intermediate course.
Which Python courses state a length and a price?
The table adds five programs that state a pace in months or weeks, each in its provider's unit.
| Course | Price | Stated hours | Certificate |
|---|---|---|---|
| Python for ProgrammersCodecademyBest for: Experienced programmers who want Python syntax | Free | 3 | Paid plan (Plus or Pro) |
| Introduction to Python ProgrammingDataquestBest for: A short beginner course with one project | $33.25 a month, as low as | 5 | Premium or Team plan |
| Learn Python for Data ScienceCodecademyBest for: Beginners heading toward data work | $14.99 a month, billed annually | 16 | Plus or Pro |
| Learn Intermediate Python 3CodecademyBest for: Learners who finished a first Python course | $14.99 a month, billed annually | 20 | Plus or Pro |
| Learn Python 3CodecademyBest for: Beginners who want a certificate and 14 projects | $14.99 a month, billed annually | 24 | Plus or Pro |
| Intermediate PythonUdacityBest for: Learners who want a longer Nanodegree program | Check the current price on Udacity's site | 35 | Not stated |
| Learn Python pathDataquestBest for: Beginners who want a pace stated in months | $33.25 a month, as low as | Not stated | Premium or Team plan |
| Python for EverybodyCoursera, U MichiganBest for: One monthly Coursera Plus bill | $59 a month$118 in all: $59 x 2 months | Not stated | Shareable certificate |
| Python 3 ProgrammingCoursera, U MichiganBest for: Learners who want APIs and a longer specialization | $59 a month$177 in all: $59 x 3 months | Not stated | Shareable certificate |
| Google IT Automation with PythonCoursera, GoogleBest for: IT learners who want a Google professional certificate | $49 a month, US and Canada$294 in all: $49 x 6 months | Not stated | Shareable certificate |
| CS50PHarvard CS50Best for: A free, ten-week Harvard course | Free | Not stated | edX certificate; check price on edX's site |
Prices and lengths read on on each provider's own page.
| Course | Provider | Price | Length | Certificate |
|---|---|---|---|---|
| Python for Programmers | Codecademy | Free course | 3 hours | Paid plan (Plus or Pro) |
| Introduction to Python Programming | Dataquest | Premium, as low as $33.25 a month | 5 hours | Premium or Team plan |
| Learn Python for Data Science | Codecademy | Plus $14.99 a month, billed annually | 16 hours | Plus or Pro |
| Learn Intermediate Python 3 | Codecademy | Plus $14.99 a month, billed annually | 20 hours | Plus or Pro |
| Learn Python 3 | Codecademy | Plus $14.99 a month, billed annually | 24 hours | Plus or Pro |
| Intermediate Python | Udacity | Check the current price on Udacity's site | 35 hours | Program Certificates |
| Learn Python path | Dataquest | Premium, as low as $33.25 a month | 1 month at 5 hrs/week | Premium or Team plan |
| Python for Everybody | Coursera, U Michigan | Coursera Plus, $59 a month | 2 months at 10 hrs/week | Shareable certificate |
| Python 3 Programming | Coursera, U Michigan | Coursera Plus, $59 a month | 3 months at 10 hrs/week | Shareable certificate |
| Google IT Automation with Python | Coursera, Google | $49 a month, US and Canada | 6 months at 10 hrs/week | Shareable certificate |
| CS50P | Harvard CS50 | Free via OpenCourseWare | Ten weeks of material | edX certificate; check price on edX's site |
Prices and lengths read on the linked pages on 4 December 2026. Codecademy's pricing page lists Basic at $0 with limited courses and no completion certificates, Plus at $14.99 a month billed annually or $29.99 billed monthly, and Pro at $19.99 a month billed annually or $39.99 billed monthly. Learn Python 3 is not labeled a free course, so the table prices it at Plus, the cheapest plan with certificates.
Dataquest's plans page shows Premium as "as low as $33.25" a month, billed monthly or annually, with a full refund within 30 days of purchase, and prints no plain monthly price, so no Dataquest total is computed. Coursera Plus shows $59 a month billed monthly with a 7-day free trial, and Coursera's FAQ for Python for Everybody says the specialization cannot be taken for free.
How much does each route cost?
Totals multiply the displayed monthly price by the months a provider states, so they are scenarios at the stated pace, priced on 4 December 2026.
Four ways to pay
- Free route$0CS50P and Python for Programmers, both free.Read on cs50.harvard.edu
- Subscription route$118–$354Coursera Plus at $59 a month, 2 to 6 stated months.Read on coursera.org
- Certificate route$69–$294PCEP voucher alone, or Google certificate at $49 x 6 months.Read on ums.edube.org
- Bootcamp route$14,900Flatiron Software Engineering Certificate tuition.Read on flatironschool.com
| Route | Example | Total | Basis |
|---|---|---|---|
| Free | CS50P, Python for Programmers | $0 | Both free on 4 December 2026 |
| Subscription | Coursera Plus, 2 to 6 stated months | $118 to $354 | $59 x 2 to 6 months |
| Certificate or exam | PCEP voucher, or Google certificate | $69 to $294 | Exam alone, or $49 x 6 months |
| Bootcamp | Flatiron Software Engineering Certificate | $14,900 | Tuition, 4 months full-time or 13 part-time |
| Degree | Four-year public college | $9,800 a year | NCES average tuition and fees, 2022-23 |
Free. CS50P says people who are not Harvard students are welcome to take it for free through OpenCourseWare, working through ten weeks of material and submitting problem sets through an edX account. Codecademy's Python for Programmers is a free course of 3 hours, though its certificate sits behind a paid plan.
Subscription. At Coursera Plus's $59 a month, Python for Everybody at its stated 2 months totals $118, Python 3 Programming at 3 months totals $177 and the Google certificate at 6 months totals $354. Coursera's Google IT Automation page prints a different figure for that certificate alone: "$49 per month" in the US and Canada after a 7-day free trial, which is $294 over 6 months, $60 less than Plus over the same stated pace. The Python for Everybody page states 2 months, yet its FAQ says most learners finish in about 8 months, which at $59 a month would be $472, so the stated pace is the cheapest case, not the likely one. Codecademy states hours rather than months, so its total depends on your pace: 12 months of Plus costs $179.88 billed annually or $359.88 billed monthly.
Certificate or exam. The lowest paid total in the table is the $69 PCEP voucher, the exam alone with no course attached. The Google certificate is priced as the monthly subscription above, with no separate exam fee on its page.
Bootcamp. Flatiron School lists its Software Engineering Certificate at $14,900, and its program page states 4 months full-time at 40 hours a week or 13 months part-time, with a stack of JavaScript, React, Python and databases. Python is one part of that stack, so this is a software engineering price, not a Python price. Per stated month it is $3,725 full-time and $1,146.15 part-time.
Degree. NCES puts the 2022-23 average tuition and fees at $9,800 a year at 4-year public institutions, $40,700 at private nonprofit ones and $4,000 at 2-year public ones. Four years at the public average is $39,200 in tuition and fees alone. NCES gives the figure for any major, so a degree is not priced as a Python course.
The Codecademy and Dataquest totals are left out of the table on purpose: Codecademy states hours and Dataquest shows only "as low as", so neither prints a plain price at a stated number of months.
Which certificates and exam fees exist?
| Credential | Issuer | Exam fee | Renewal |
|---|---|---|---|
| PCEP-30-03 | Python Institute, OpenEDG store | $69.00 single attempt | Valid 5 years; no renewal fee shown |
The OpenEDG store sells the PCEP-30-03 exam voucher at $69.00 as a single attempt, valid 12 months from purchase, in its USD view on 4 December 2026. The Python Institute's PCEP page states 35 questions, 50 minutes, a 70% pass mark, a 7-day wait before a retake and no prerequisites, and says its prices depend on the product and currency. Retake and bundle options exist on the store, but their prices were not read, so check the current price on the OpenEDG store before budgeting for a second attempt.
At $69 the exam costs the same in year one and over 3 years, because the credential is valid 5 years and the pages show no renewal fee. The CS50P certificate runs through edX; check the current price on edX's site. Course completion certificates on Codecademy need Plus or Pro, and on Dataquest need a paid plan (Premium or Team).
What does Python work pay?
BLS has no occupation named for one language, so this page uses two occupations whose O*NET pages list the Python Software Foundation among their professional associations, plus a third IT occupation for comparison. The figures are BLS medians, read on O*NET OnLine on 4 December 2026 for 2025. Pay belongs to the occupation, not to any course on this page.
- Software Developers (15-1252.00): $135,980 a year, $65.38 an hour. O*NET describes the occupation as: "Research, design, and develop computer and network software or specialized utility programs."
- Data Scientists (15-2051.00): $120,230 a year, $57.80 an hour. O*NET: "Develop and implement a set of techniques or analytics applications to transform raw data into meaningful information using data-oriented programming languages and visualization software."
- Network and Computer Systems Administrators (15-1244.00): $99,130 a year, $47.66 an hour. Google's certificate page names "Junior Systems Administrator" among its example roles; O*NET lists no occupation under that title, so this figure belongs to the occupation, not to the certificate.
Software developers' median is $15,750 a year above data scientists'. Dataquest's plans page claims a "$30k" average salary boost for learners who complete a path; that is Dataquest's claim, not a BLS figure, and this page does not use it.
The Skill Brief data: across the prices of 3 providers (Codecademy, Flatiron School and Coursera) read on 4 December 2026, 12 months of Codecademy Plus cost $179.88 billed annually and $359.88 billed monthly, a $180 gap, and Flatiron's $14,900 bootcamp works out to $3,725 per stated month at 4 months full-time, against $49 a month for Google's 6-month certificate.
Is it still hiring in 2026?
O*NET counts 1,717,800 Software Developers in 2025 and prints their projected growth for 2025 to 2035 as "Much faster than average (7% or higher)", with about 95,300 projected job openings a year on average. The BLS Occupational Outlook Handbook projects 10% for Software Developers, Quality Assurance Analysts, and Testers, or 185,400 more jobs, tied to more software for AI, automation and security. It lists Computer Programmers separately at -7%: BLS says programming keeps being automated, with some higher-skilled tasks likely shifting to software developers, and that all programmer openings come from replacing people who leave.
Indeed's Job Postings Index for its Software Development sector (Indeed's own grouping of job titles) read 81.7 on 13 November 2026, against 66.2 a year earlier and a peak of 233.8 on 28 February 2022. It counts job advertisements on Indeed in the United States, seasonally adjusted, with 1 February 2020 = 100, not people employed, so 81.7 is 18% below that level. All US postings read 106.2 that day. Credit: Indeed Hiring Lab, CC BY 4.0.
Side by side, they differ: BLS projects more software developer jobs and fewer programmer jobs, while postings sit 18% below their February 2020 level.
What are the steps from first script to portfolio?
These are the steps providers lay out from first script to portfolio, not stations on the line, which holds only lengths a provider states for a whole course.
First script
Learn Python 3 opens with a Hello World lesson that builds a point of sale system for a furniture store, then control flow with if, else and elif. Python for Everybody's first course says you will "install Python and write your first program". CS50P's page lists Functions, Variables, Conditionals, Loops and Exceptions among its topics. If you already code in another language, the 3-hour Python for Programmers covers syntax only.
Data structures
Learn Python 3 teaches lists as "a data structure in Python used to store ordered groups of data". Python for Everybody's second course, Python Data Structures, adds dictionaries that "store data as key/value pairs". Codecademy's Learn Data Structures and Algorithms with Python states 26 hours and lists Learn Python 3 as its prerequisite. Databases come next for data work; see how long it takes to learn SQL.
Files and APIs
CS50P lists File I/O and Regular Expressions. Python for Everybody's third course, Using Python to Access Web Data, says you will "retrieve data from websites and APIs using Python". Python 3 Programming includes a course whose description says you will use the Python requests module to interact with REST APIs and navigate API documentation. Coursera's course cards inside that specialization show hours per course, 42 hours for Python Functions, Files, and Dictionaries, which is a different measure from the 3-month headline pace used in the tables here. For web pages rather than data, the neighboring skill is JavaScript.
First project
Learn Python 3 lists 14 lessons, 14 projects and 13 quizzes. Dataquest's Introduction to Python Programming lists 5 lessons and 1 project. In Python 3 Programming, the third course has you mash up two APIs to create a movie recommender, and CS50P ends with a final project.
Certificate
There are three kinds on this page: a completion certificate from the course provider (Codecademy Plus or Pro, Dataquest Premium or Team, or Coursera's shareable certificate), a professional certificate such as Google IT Automation with Python at $49 a month, and an exam credential, PCEP-30-03 at $69.00. A certificate is evidence that you finished or passed something.
Portfolio
Codecademy's Learn Python for Data Science path includes a unit named Python for Data Science: Portfolio Project, Dataquest's Dictionaries and Functions in Python page lists "Build your project portfolio" among its benefits, Python 3 Programming ends with an extended image-recognition project, and CS50P links a gallery of final projects. The providers on this page state no hours for a portfolio, so the line stops at course totals. For the analyst route, see how long it takes to become a data analyst, the best data analytics certificates and, if your data lives in spreadsheets first, how long Excel takes.
Which route should you pick?
The picks rest on the seven criteria listed under How we compared, using each provider's printed terms on 4 December 2026.
| If you... | Pick | Because |
|---|---|---|
| want a full free course | CS50P | Free access through OpenCourseWare |
| already code and want a quick start | Python for Programmers | Shortest stated length, 3 hours |
| start from zero and want a certificate | Learn Python 3 | Beginner level, certificate with Plus |
| prefer one month at a stated pace | Learn Python path | Stated length: 1 month at 5 hrs/week |
| pay by the month through one plan | Python for Everybody | Monthly billing through Coursera Plus |
| want a Google professional certificate | Google IT Automation with Python | Certificate priced at $49 a month |
| want an exam to show Python basics | PCEP-30-03 | Certificate by exam, $69.00 voucher |
| want a full-time program with set hours | Flatiron Software Engineering Certificate | Stated length, 4 months at 40 hrs/week |
CS50P
- Best for
- free access to a ten-week Harvard course, with no plan to buy.
- Skip it if
- you want a stated length in hours, since CS50P states ten weeks of material.
Learn Python 3
- Best for
- beginner level learners who want a certificate of completion and 14 projects.
- Skip it if
- you need free access, since the certificate needs Plus or Pro.
Python for Everybody
- Best for
- monthly billing through Coursera Plus for a stated 2 months at 10 hours a week.
- Skip it if
- you want a short stated length, since Coursera's FAQ cites about 8 months.
How we compared
We compared the courses, programs and credentials on seven criteria: free access, stated length, length unit, certificate, level, billing and cost to start. Every figure comes from the provider's own page, linked where it is used and read on 4 December 2026: Codecademy, Dataquest, Coursera, Udacity, Harvard's CS50, Flatiron School, the Python Institute and its OpenEDG store, NCES, and O*NET OnLine for BLS pay. Prices are in US dollars as of 4 December 2026, as those pages display them, with list and billing basis kept as printed ("as low as" stays "as low as"). Lengths keep each provider's unit; months are never converted into hours, and a course with two hour figures uses the one attached to the course itself. When two pages of one provider disagree, the course's own page is the figure in the tables and the other is named once. Totals multiply a displayed price by a stated count and show the arithmetic. Prices are rechecked and the date above is updated when they change.
FAQ
How long does it take to learn Python?
Six named Python courses state 3 to 35 hours, with a median of 18 hours, on pages read 4 December 2026. Programs that state a pace in months say 2 months (Python for Everybody), 3 months (Python 3 Programming) and 6 months (Google IT Automation with Python), each at 10 hours a week. Harvard's CS50P states ten weeks of material.
How much does it cost to learn Python?
It ranges from $0 to $14,900 in the routes read on 4 December 2026. CS50P is free, Coursera Plus is $59 a month ($118 over Python for Everybody's stated 2 months), Codecademy Plus is $14.99 a month billed annually or $29.99 billed monthly, and Flatiron's Software Engineering Certificate is $14,900.
Can you learn Python for free?
Yes. CS50P is free through OpenCourseWare with ten weeks of material, and Codecademy's Python for Programmers is a free 3-hour course. Codecademy's free Basic plan, at $0, does not include completion certificates, and Coursera's Python for Everybody FAQ says that specialization cannot be taken for free.
How much does the PCEP exam cost?
The OpenEDG store showed $69.00 for a single-attempt PCEP-30-03 voucher on 4 December 2026, valid 12 months from purchase. The exam has 35 questions in 50 minutes with a 70% pass mark, and the credential is valid 5 years.
How much do Python jobs pay?
BLS has no Python-only occupation, and pay belongs to the occupation. BLS reports a 2025 median of $135,980 a year ($65.38 an hour) for Software Developers (O*NET 15-1252.00) and $120,230 a year ($57.80 an hour) for Data Scientists (15-2051.00), read on O*NET OnLine on 4 December 2026.
Are software developer jobs growing or shrinking?
BLS projects 10% growth from 2025 to 2035 for Software Developers, Quality Assurance Analysts, and Testers (O*NET 15-1252.00), or 185,400 more jobs, and -7% for Computer Programmers, or 8,100 fewer. Indeed's Software Development job postings read 81.7 on 13 November 2026, 18% below their 1 February 2020 level of 100 (Indeed Hiring Lab).
More Skill Brief length guides: how long to learn SQL, how long to learn JavaScript and how long to become a data analyst.
Some offers on this page may be paid placements or contain affiliate links.
Sources
- cs50.harvard.edu/python read 4 Dec 2026
- codecademy.com/learn/learn-python-3 read 4 Dec 2026
- codecademy.com/learn/python-for-programmers read 4 Dec 2026
- dataquest.io/course/python-fundamentals read 4 Dec 2026
- codecademy.com/learn/paths/learn-python-for-data-sci… read 4 Dec 2026
- codecademy.com/learn/learn-intermediate-python-3 read 4 Dec 2026
- udacity.com/course/intermediate-python-nanodegree… read 4 Dec 2026
- dataquest.io/path/learn-python read 4 Dec 2026
- coursera.org/specializations/python read 4 Dec 2026
- coursera.org/specializations/python-3-programming read 4 Dec 2026
- coursera.org/professional-certificates/google-it-a… read 4 Dec 2026
- codecademy.com/pricing
- dataquest.io/plans
- coursera.org/courseraplus read 4 Dec 2026
- flatironschool.com/tuition read 4 Dec 2026
- flatironschool.com/software-engineering
- nces.ed.gov/fastfacts/display.asp
- ums.edube.org/products/0-pi-pcep-e read 4 Dec 2026
- pythoninstitute.org/pcep
- bls.gov/ooh/computer-and-information-technolo… read 4 Dec 2026
- bls.gov/ooh/computer-and-information-technolo…
- github.com/hiring-lab/job_postings_tracker
- codecademy.com/learn/learn-data-structures-and-algor…
- dataquest.io/course/python-fundamentals-ii
- onetonline.org/link/summary/15-1252.00 read 4 Dec 2026