Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Research Python

        Python statistics: use, countries and companion tools

        Python reached different parts of the Stack Overflow survey sample unevenly. We compute the gaps between respondent groups and countries, and the tools used by the same people. The percentages come from published respondent records and describe this survey sample.

        Last updated November 21, 2026Source figures checked on November 21, 2026

        Key findings

        1. In Stack Overflow's survey samples, the Python use share changed from 51.4% in 2024 to 58.1% in 2025, a signed difference of +6.7 percentage points. (Stack Overflow)
        2. Professional developers reported Python use at 54.9% in 2025, compared with people learning to code at 65.8%: a signed gap of -10.9 percentage points. (Stack Overflow)
        3. Among country samples with at least one hundred answers, Chile had the highest Python share at 72.6% in 2025; Egypt had 43.3%, a gap of 29.3 percentage points. (Stack Overflow)
        4. Of Python users who also answered the companion-tool question in 2025, 66.0% selected JavaScript, versus 61.6% for SQL: a gap of 4.4 percentage points. (Stack Overflow)
        5. Professional developers supplied 73.9% of Python users in the eligible 2025 sample, compared with 78.2% of eligible respondents, a signed difference of -4.3 percentage points. (Stack Overflow)
        6. The Python share in Chile's 2025 sample was 14.4 percentage points above the global survey sample's 58.1%; country samples measure respondents, not national workforces. (Stack Overflow)

        Use across survey years

        Python use among eligible survey respondents

        Share reporting use · Survey year

        Python use among eligible survey respondentsPython use among eligible survey respondents02040608010020242025
        Python use among eligible survey respondentsPython use among eligible survey respondents02040608010020242025

        The share changed from 51.4% in 2024 to 58.1% in 2025, a signed difference of +6.7 percentage points. The sample sizes were 59,745 and 31,671.

        Each year recruited a different sample, so these answer-based differences don't follow individual developers.

        Data table
        Python use among eligible survey respondents
        Survey yearReporting useAnswered questionUse share
        202430,71959,74551.4%
        202518,41031,67158.1%
        Embed this chart

        Copy this code into your page. The chart links back here, where the sources are listed.

        Use by respondent group

        Python use by coding background in 2025

        Share reporting use

        Python use by coding background in 2025Python use by coding background in 2025Professional developers54.9Other respondents70.3Learning to code65.8
        Python use by coding background in 2025Python use by coding background in 2025Professional developers54.9Other respondents70.3Learning to code65.8

        Professional developers reported 54.9% and people learning to code reported 65.8%. Their signed difference was -10.9 percentage points.

        The groups answer the same use question, but their occupation and experience can affect tool selection.

        Data table
        Python use by coding background in 2025
        Respondent groupReporting useAnswered questionUse share
        Professional developers13,59624,75154.9%
        Other respondents4,0805,80570.3%
        Learning to code7341,11565.8%
        Embed this chart

        Copy this code into your page. The chart links back here, where the sources are listed.

        Country samples with the highest and lowest shares

        Python use in selected country samples in 2025

        Share reporting use

        Python use in selected country samples in 2025Python use in selected country samples in 2025Chile72.6China68.5Viet Nam65.8Colombia65.3Ukraine46.0Iran, Islamic Republic of...45.5Croatia43.6Egypt43.3
        Python use in selected country samples in 2025Python use in selected country samples in 2025Chile72.6China68.5Viet Nam65.8Colombia65.3Ukraine46.0Iran, Islamic Republic of...45.5Croatia43.6Egypt43.3
        • Global survey sample: 58.1

        The gap between Chile and Egypt was 29.3 percentage points. The chart shows the highest and lowest shares among 52 country samples with at least one hundred eligible responses.

        The counts sit beside each share because recruitment and unequal country samples limit comparisons with the wider workforce.

        Data table
        Python use in selected country samples in 2025
        Country sampleReporting useAnswered questionUse share
        Chile8211372.6%
        China15222268.5%
        Viet Nam7711765.8%
        Colombia11317365.3%
        Ukraine38383346.0%
        Iran, Islamic Republic of...5512145.5%
        Croatia4410143.6%
        Egypt4510443.3%
        Embed this chart

        Copy this code into your page. The chart links back here, where the sources are listed.

        Selected companion tools

        Selected companion tools among Python users in 2025

        Share of eligible users

        Selected companion tools among Python users in 2025Selected companion tools among Python users in 2025JavaScript66.0SQL61.6TypeScript43.0
        Selected companion tools among Python users in 2025Selected companion tools among Python users in 2025JavaScript66.0SQL61.6TypeScript43.0

        JavaScript appeared in 66.0% of eligible Python users' answers, compared with 61.6% for SQL. The gap was 4.4 percentage points.

        Respondents could choose several companions from a selected list, so these percentages don't add to a whole.

        Data table
        Selected companion tools among Python users in 2025
        Companion toolAlso selected toolEligible primary-tool usersCompanion share
        JavaScript12,15318,41066.0%
        SQL11,33518,41061.6%
        TypeScript7,91418,41043.0%
        Embed this chart

        Copy this code into your page. The chart links back here, where the sources are listed.

        How we worked out these numbers

        • We count a respondent once when their nonempty use answer includes Python. Blank and missing answers stay out of the denominator. Multiple selections count as use of each selected tool.
        • Respondent groups come from the survey question about coding background. Professional developers and people learning to code are separate answers; all other answers form the remaining group.
        • The country section uses the latest included survey, 2025, and keeps only countries with at least one hundred eligible answers. Companion shares include Python users who also answer that companion-tool question. All calculations are unweighted.
        • The public response CSVs come from Stack Overflow. These adapted aggregates are available under the Open Database License, with individual source cell contents under the Database Contents License. The download and source list preserve the attribution and licence links.

        What these numbers do not show

        • Stack Overflow recruits mainly through its own channels. Respondents choose whether to take part, so these percentages don't estimate use among all developers, all workers or an entire country.
        • A missing answer is excluded, not counted as non-use. Companion use measures an overlap between answers; it can't establish an integration, a required skill or a cause of tool adoption.
        • The samples contain different people each year. Question wording, available answer options and recruitment can change; a change in sample share doesn't measure individual switching or growth in the total user population.
        • The downloadable snapshot contains 49,191 records, while the published methodology describes 49,009 responses. We use the downloadable snapshot and report each question’s own denominator; we can't reconstruct an unpublished exclusion rule from it.

        Common questions

        How many developers use Python?
        In the 2025 Stack Overflow sample, 18,410 of 31,671 eligible respondents reported Python use, or 58.1%. This is a share of people who answered the relevant survey question. Recruitment was self-selected, so it doesn't give a total user count or a representative estimate for all developers.
        Which country uses Python most?
        Chile had the highest Python share among the retained 2025 country samples, at 72.6%, compared with 43.3% in Egypt. Each retained country had at least one hundred eligible answers. These are unweighted survey samples, so the comparison can't rank whole countries by workforce adoption or total users.

        Cite this page

        When you quote a finding, use this citation or link to this page.

        The Work Gym (2026). Python statistics: use, countries and companion tools. Updated November 21, 2026. https://theworkgym.com/python/statistics/

        Download the data (CSV). One row per published figure, with its source and the day we read it.

        Guides on this topic

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.