www.python.org Open in urlscan Pro
2a04:4e42:8d::223  Public Scan

Submitted URL: http://python.org/
Effective URL: https://www.python.org/
Submission: On June 14 via manual from IT — Scanned from IT

Form analysis 1 forms found in the DOM

GET /search/

<form class="search-the-site" action="/search/" method="get">
  <fieldset title="Search Python.org">
    <span aria-hidden="true" class="icon-search"></span>
    <label class="screen-reader-text" for="id-search-field">Search This Site</label>
    <input id="id-search-field" name="q" type="search" role="textbox" class="search-field" placeholder="Search" value="" tabindex="1">
    <button type="submit" name="submit" id="submit" class="search-button" title="Submit this Search" tabindex="3"> GO </button>
    <!--[if IE]><input type="text" style="display: none;" disabled="disabled" size="1" tabindex="4"><![endif]-->
  </fieldset>
</form>

Text Content

Notice: While JavaScript is not essential for this website, your interaction
with the content will be limited. Please turn JavaScript on for the full
experience.

Skip to content
▼ Close
 * Python
 * PSF
 * Docs
 * PyPI
 * Jobs
 * Community

▲ The Python Network

Donate
≡ Menu
Search This Site GO
 * A A
   * Smaller
   * Larger
   * Reset

 * Socialize
   * Facebook
   * Twitter
   * Chat on IRC

 * Sign In
   * Sign Up / Register
   * Sign In

 * About
   * Applications
   * Quotes
   * Getting Started
   * Help
   * Python Brochure
   
   * PYTHON IS A PROGRAMMING LANGUAGE THAT LETS YOU WORK MORE QUICKLY AND
     INTEGRATE YOUR SYSTEMS MORE EFFECTIVELY.
     
     You can learn to use Python and see almost immediate gains in productivity
     and lower maintenance costs. Learn more about Python.
 * Downloads
   * All releases
   * Source code
   * Windows
   * macOS
   * Other Platforms
   * License
   * Alternative Implementations
     
   
   * DOWNLOAD FOR MACOS
     
     Python 3.11.4
     
     Not the OS you are looking for? Python can be used on many operating
     systems and environments. View the full list of downloads.
     
     
     PYTHON SOURCE
     
     Python 3.11.4
     
     Not the OS you are looking for? Python can be used on many operating
     systems and environments. View the full list of downloads.
     
     DOWNLOAD FOR WINDOWS
     
     Python 3.11.4
     
     Note that Python 3.9+ cannot be used on Windows 7 or earlier.
     
     Not the OS you are looking for? Python can be used on many operating
     systems and environments. View the full list of downloads.
     
     DOWNLOAD PYTHON FOR ANY OS
     
     Python can be used on many operating systems and environments.
     
     View the full list of downloads
 * Documentation
   * Docs
   * Audio/Visual Talks
   * Beginner's Guide
   * Developer's Guide
   * FAQ
   * Non-English Docs
   * PEP Index
   * Python Books
   * Python Essays
   
   * PYTHON’S STANDARD DOCUMENTATION: DOWNLOAD, BROWSE OR WATCH A TUTORIAL.
     
     Get started below, or visit the Documentation page to browse by version.
     
     
     Python Docs
 * Community
   * Diversity
   * Mailing Lists
   * IRC
   * Forums
   * PSF Annual Impact Report
   * Python Conferences
   * Special Interest Groups
   * Python Logo
   * Python Wiki
   * Code of Conduct
   * Community Awards
   * Get Involved
   * Shared Stories
   
   * THE PYTHON COMMUNITY
     
     Great software is supported by great people. Our user base is enthusiastic,
     dedicated to encouraging use of the language, and committed to being
     diverse and friendly.
 * Success Stories
   * Arts
   * Business
   * Education
   * Engineering
   * Government
   * Scientific
   * Software Development
     
   
   * > Since its founding in 2007, Lincoln Loop has been building sites for
     > their clients with Python and Django. They credit Python's philosophy of
     > practicality and explicitness, along with the rich ecosystem of
     > open-source libraries available on PyPI, as keys to their success.
     > Additionally, the inclusivity, openness, and strong culture of
     > collaboration in the Python community have enabled the agency to find and
     > hire great people who are lifelong learners.
     
     Peter Baumgartner, Lincoln Loop
 * News
   * Python News
   * PSF Newsletter
   * PSF News
   * PyCon US News
   * News from the Community
 * Events
   * Python Events
   * User Group Events
   * Python Events Archive
   * User Group Events Archive
   * Submit an Event
   * Find events from the Python Community around the world!

 * >_ Launch Interactive Shell

 * # Python 3: Fibonacci series up to n
   >>> def fib(n):
   >>>     a, b = 0, 1
   >>>     while a < n:
   >>>         print(a, end=' ')
   >>>         a, b = b, a+b
   >>>     print()
   >>> fib(1000)
   0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987
   
   
   FUNCTIONS DEFINED
   
   The core of extensible programming is defining functions. Python allows
   mandatory and optional arguments, keyword arguments, and even arbitrary
   argument lists. More about defining functions in Python 3

 * # Python 3: List comprehensions
   >>> fruits = ['Banana', 'Apple', 'Lime']
   >>> loud_fruits = [fruit.upper() for fruit in fruits]
   >>> print(loud_fruits)
   ['BANANA', 'APPLE', 'LIME']
   
   # List and the enumerate function
   >>> list(enumerate(fruits))
   [(0, 'Banana'), (1, 'Apple'), (2, 'Lime')]
   
   
   COMPOUND DATA TYPES
   
   Lists (known as arrays in other languages) are one of the compound data types
   that Python understands. Lists can be indexed, sliced and manipulated with
   other built-in functions. More about lists in Python 3

 * # Python 3: Simple arithmetic
   >>> 1 / 2
   0.5
   >>> 2 ** 3
   8
   >>> 17 / 3  # classic division returns a float
   5.666666666666667
   >>> 17 // 3  # floor division
   5
   
   
   INTUITIVE INTERPRETATION
   
   Calculations are simple with Python, and expression syntax is
   straightforward: the operators +, -, * and / work as expected; parentheses ()
   can be used for grouping. More about simple math functions in Python 3.

 * # For loop on a list
   >>> numbers = [2, 4, 6, 8]
   >>> product = 1
   >>> for number in numbers:
   ...    product = product * number
   ... 
   >>> print('The product is:', product)
   The product is: 384
   
   
   ALL THE FLOW YOU’D EXPECT
   
   Python knows the usual control flow statements that other languages speak —
   if, for, while and range — with some of its own twists, of course. More
   control flow tools in Python 3

 * # Simple output (with Unicode)
   >>> print("Hello, I'm Python!")
   Hello, I'm Python!
   # Input, assignment
   >>> name = input('What is your name?\n')
   What is your name?
   Python
   >>> print(f'Hi, {name}.')
   Hi, Python.
   
   
   
   QUICK & EASY TO LEARN
   
   Experienced programmers in any other language can pick up Python very
   quickly, and beginners find the clean syntax and indentation structure easy
   to learn. Whet your appetite with our Python 3 overview.

 1. 1
 2. 2
 3. 3
 4. 4
 5. 5

Python is a programming language that lets you work quickly and integrate
systems more effectively. Learn More


GET STARTED

Whether you're new to programming or an experienced developer, it's easy to
learn and use Python.

Start with our Beginner’s Guide


DOWNLOAD

Python source code and installers are available for download for all versions!

Latest: Python 3.11.4


DOCS

Documentation for Python's standard library, along with tutorials and guides,
are available online.

docs.python.org


JOBS

Looking for work or have a Python related position that you're trying to hire
for? Our relaunched community-run job board is the place to go.

jobs.python.org


LATEST NEWS

More

 * 2023-06-07 Affirming your PSF Membership voting status
 * 2023-06-07 Python 3.11.4, 3.10.12, 3.9.17, 3.8.17, 3.7.17, and 3.12.0 beta 2
   are now available
 * 2023-05-31 Thinking about running for the Python Software Foundation Board of
   Directors? Let’s talk!
 * 2023-05-29 The Python Language Summit 2023: Towards Native Profiling for
   Python
 * 2023-05-29 The Python Language Summit 2023: Burnout is Real


UPCOMING EVENTS

More

 * 2023-06-17 Django Girls Xai-Xai
 * 2023-06-20 Building Micro Tech Communities Around Python Programming Language
   (June 20 - July 30)
 * 2023-06-20 Careers with Python: Volume 2
 * 2023-06-26 World Conference on Data Science & Statistics
 * 2023-07-04 PyCon Israel 2023


SUCCESS STORIES

More

> Python powers major aspects of Abridge’s ML lifecycle, including data
> annotation, research and experimentation, and ML model deployment to
> production.

Abridging clinical conversations using Python by Nimshi Venkat and Sandeep Konam


USE PYTHON FOR…

More

 * Web Development: Django, Pyramid, Bottle, Tornado, Flask, web2py
 * GUI Development: tkInter, PyGObject, PyQt, PySide, Kivy, wxPython
 * Scientific and Numeric: SciPy, Pandas, IPython
 * Software Development: Buildbot, Trac, Roundup
 * System Administration: Ansible, Salt, OpenStack, xonsh


>>> PYTHON ENHANCEMENT PROPOSALS (PEPS): THE FUTURE OF PYTHON IS DISCUSSED HERE.
RSS


>>> PYTHON SOFTWARE FOUNDATION

The mission of the Python Software Foundation is to promote, protect, and
advance the Python programming language, and to support and facilitate the
growth of a diverse and international community of Python programmers. Learn
more

Become a Member Donate to the PSF

▲ Back to Top
 * About
   * Applications
   * Quotes
   * Getting Started
   * Help
   * Python Brochure
 * Downloads
   * All releases
   * Source code
   * Windows
   * macOS
   * Other Platforms
   * License
   * Alternative Implementations
 * Documentation
   * Docs
   * Audio/Visual Talks
   * Beginner's Guide
   * Developer's Guide
   * FAQ
   * Non-English Docs
   * PEP Index
   * Python Books
   * Python Essays
 * Community
   * Diversity
   * Mailing Lists
   * IRC
   * Forums
   * PSF Annual Impact Report
   * Python Conferences
   * Special Interest Groups
   * Python Logo
   * Python Wiki
   * Code of Conduct
   * Community Awards
   * Get Involved
   * Shared Stories
 * Success Stories
   * Arts
   * Business
   * Education
   * Engineering
   * Government
   * Scientific
   * Software Development
 * News
   * Python News
   * PSF Newsletter
   * PSF News
   * PyCon US News
   * News from the Community
 * Events
   * Python Events
   * User Group Events
   * Python Events Archive
   * User Group Events Archive
   * Submit an Event
 * Contributing
   * Developer's Guide
   * Issue Tracker
   * python-dev list
   * Core Mentorship
   * Report a Security Issue

▲ Back to Top
 * Help & General Contact
 * Diversity Initiatives
 * Submit Website Bug
 * Status

Copyright ©2001-2023.  Python Software Foundation  Legal Statements  Privacy
Policy  Powered by Heroku