PageSourceSearch

https://www.python.org/

html python.org collected 2026-10-01 06:04:06 UTC 52,594 bytes, 1,029 lines download raw bytes

1<!doctype html>
2<html class="no-js" lang="en" dir="ltr">
3
4<head>
5    
5<script defer
6            file-types="bz2,chm,dmg,exe,gz,json,msi,msix,pdf,pkg,tgz,xz,zip"
7            data-domain="python.org"
8            src="https://analytics.python.org/js/script.file-downloads.outbound-links.js"></script>
8
9
10    <meta charset="utf-8">
11
12    <link rel="prefetch" href="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">
13    <link rel="prefetch" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js">
14
15    <meta name="application-name" content="Python.org">
16    <meta name="apple-mobile-web-app-title" content="Python.org">
17    <meta name="apple-mobile-web-app-capable" content="yes">
18    <meta name="apple-mobile-web-app-status-bar-style" content="black">
19
20    <meta name="viewport" content="width=device-width, initial-scale=1.0">
21    <meta name="HandheldFriendly" content="True">
22    <meta name="format-detection" content="telephone=no">
23
24    
24<script async
25            src="https://media.ethicalads.io/media/client/v1.4.0/ethicalads.min.js"
26            integrity="sha256-U3hKDidudIaxBDEzwGJApJgPEf2mWk6cfMWghrAa6i0= sha384-UcmsCqcNRSLW/dV3Lo1oCi2/VaurXbib6p4HyUEOeIa/4OpsrnucrugAefzVZJfI sha512-q4t1L4xEjGV2R4hzqCa41P8jrgFUS8xTb8rdNv4FGvw7FpydVj/kkxBJHOiaoxHa8olCcx1Slk9K+3sNbsM4ug=="
27            crossorigin="anonymous"
28    ></script>
28
29    
29<script src="/static/js/libs/modernizr.js"></script>
29
30
31    <link href="/static/stylesheets/style.6cb9f297dd80.css" rel="stylesheet" type="text/css" media="all" title="default" />
32    <link href="/static/stylesheets/mq.a4feecea96fa.css" rel="stylesheet" type="text/css" media="not print, braille, embossed, speech, tty" />
33    <link href="/static/stylesheets/font-awesome.bf0c425cdb73.css" rel="stylesheet" type="text/css" media="screen" />
34    
35
36    <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
37
38    
39    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
40    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/apple-touch-icon-144x144-precomposed.png">
41    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/apple-touch-icon-114x114-precomposed.png">
42    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/apple-touch-icon-72x72-precomposed.png">
43    <link rel="apple-touch-icon-precomposed" href="/static/apple-touch-icon-precomposed.png">
44    <link rel="apple-touch-icon" href="/static/apple-touch-icon-precomposed.png">
45
46    
47    <meta name="msapplication-TileImage" content="/static/metro-icon-144x144.png"><!-- white shape -->
48    <meta name="msapplication-TileColor" content="#3673a5"><!-- python blue -->
49    <meta name="msapplication-navbutton-color" content="#3673a5">
50
51    <title>Welcome to Python.org</title>
52
53    <meta name="description" content="The official home of the Python Programming Language">
54    <meta name="keywords" content="Python programming language object oriented web free open source software license documentation download community">
55
56    
57    <meta property="og:type" content="website">
58    <meta property="og:site_name" content="Python.org">
59    <meta property="og:title" content="Welcome to Python.org">
60    <meta property="og:description" content="The official home of the Python Programming Language">
61    
62    <meta property="og:image" content="https://www.python.org/static/opengraph-icon-200x200.png">
63    <meta property="og:image:secure_url" content="https://www.python.org/static/opengraph-icon-200x200.png">
64    
65    <meta property="og:url" content="https://www.python.org/">
66
67    <link rel="author" href="/humans.txt">
68
69    <link rel="alternate" type="application/rss+xml" title="Python Enhancement Proposals"
70          href="https://peps.python.org/peps.rss">
71    <link rel="alternate" type="application/rss+xml" title="Python Job Opportunities"
72          href="https://www.python.org/jobs/feed/rss/">
73    <link rel="alternate" type="application/rss+xml" title="Python Software Foundation News"
74          href="https://pyfound.blogspot.com/feeds/posts/default?alt=rss">
75    <link rel="alternate" type="application/rss+xml" title="Python Insider"
76          href="https://blog.python.org/feeds/posts/default?alt=rss">
77   <link rel="alternate" type="application/rss+xml" title="Python Releases"
78         href="https://www.python.org/downloads/feed.rss">
79
80    
81
82    
83    
83<script type="application/ld+json">
84     {
85       "@context": "https://schema.org",
86       "@type": "WebSite",
87       "url": "https://www.python.org/",
88       "potentialAction": {
89         "@type": "SearchAction",
90         "target": "https://www.python.org/search/?q={search_term_string}",
91         "query-input": "required name=search_term_string"
92       }
93     }
94    </script>
94
95
96    
97</head>
98
99<body class="python home" id="homepage">
100
101    <div id="touchnav-wrapper">
102
103        <div id="nojs" class="do-not-print">
104            <p><strong>Notice:</strong> This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.</p>
105        </div>
106
107        <!-- Sister Site Links -->
108        <div id="top" class="top-bar do-not-print">
109
110            <nav class="meta-navigation container">
111
112                
113                <div class="skip-link screen-reader-text">
114                    <a href="#content" title="Skip to content">Skip to content</a>
115                </div>
116
117                
118                <a id="close-python-network" class="jump-link" href="#python-network" aria-hidden="true">
119                    <span aria-hidden="true" class="icon-arrow-down"><span>&#9660;</span></span> Close
120                </a>
121
122                
123
124<ul class="menu" role="tree">
125    
126    <li class="python-meta current_item selectedcurrent_branch selected">
127        <a href="/" title="The Python Programming Language" class="current_item selectedcurrent_branch selected">Python</a>
128    </li>
129    
130    <li class="psf-meta ">
131        <a href="https://www.python.org/psf/" title="The Python Software Foundation" >PSF</a>
132    </li>
133    
134    <li class="docs-meta ">
135        <a href="https://docs.python.org" title="Python Documentation" >Docs</a>
136    </li>
137    
138    <li class="pypi-meta ">
139        <a href="https://pypi.org/" title="Python Package Index" >PyPI</a>
140    </li>
141    
142    <li class="jobs-meta ">
143        <a href="/jobs/" title="Python Job Board" >Jobs</a>
144    </li>
145    
146    <li class="shop-meta ">
147        <a href="/community/"  >Community</a>
148    </li>
149    
150</ul>
151
152
153                <a id="python-network" class="jump-link" href="#top" aria-hidden="true">
154                    <span aria-hidden="true" class="icon-arrow-up"><span>&#9650;</span></span> The Python Network
155                </a>
156
157            </nav>
158
159        </div>
160
161        <!-- Header elements -->
162        <header class="main-header">
163            <div class="container">
164
165                <div class="site-headline">
166                    <a href="/"><img class="python-logo" src="/static/img/python-logo.png" alt="python&trade;"></a>
167                </div>
168
169                <div class="options-bar-container do-not-print">
170                    <a href="https://donate.python.org/" class="donate-button">Donate</a>
171                    <div class="options-bar">
172                        
173                        <a id="site-map-link" class="jump-to-menu" href="#site-map"><span class="menu-icon">&equiv;</span> Menu</a><form class="search-the-site" action="/search/" method="get">
174                            <fieldset title="Search Python.org">
175
176                                <span aria-hidden="true" class="icon-search"></span>
177
178                                <label class="screen-reader-text" for="id-search-field">Search This Site</label>
179                                <input id="id-search-field" name="q" type="search" class="search-field" placeholder="Search" value="" tabindex="1">
180
181                                <button type="submit" name="submit" id="submit" class="search-button" title="Submit this Search" tabindex="3">
182                                    GO
183                                </button>
184
185                            </fieldset>
186                        </form><span class="breaker"></span><div class="adjust-font-size" aria-hidden="true">
187                            <ul class="navigation menu" aria-label="Adjust Text Size on Page">
188                                <li class="tier-1 last" aria-haspopup="true">
189                                    <a href="#" class="action-trigger"><strong><small>A</small> A</strong></a>
190                                    <ul class="subnav menu" role="menu">
191                                        <li class="tier-2 element-1" role="menuitem"><a class="text-shrink" title="Make Text Smaller" href="javascript:;">Smaller</a></li>
192                                        <li class="tier-2 element-2" role="menuitem"><a class="text-grow" title="Make Text Larger" href="javascript:;">Larger</a></li>
193                                        <li class="tier-2 element-3" role="menuitem"><a class="text-reset" title="Reset any font size changes I have made" href="javascript:;">Reset</a></li>
194                                    </ul>
195                                </li>
196                            </ul>
197                        </div><div class="winkwink-nudgenudge">
198                            <ul class="navigation menu" aria-label="Social Media Navigation">
199                                <li class="tier-1 last" aria-haspopup="true">
200                                    <a href="#" class="action-trigger">Socialize</a>
201                                    <ul class="subnav menu" role="menu">
202                                        <li class="tier-2 element-1" role="menuitem"><a href="https://www.linkedin.com/company/python-software-foundation/"><i aria-hidden="true" class="fa fa-linkedin-square"></i>LinkedIn</a></li>
203                                        <li class="tier-2 element-2" role="menuitem"><a href="https://fosstodon.org/@ThePSF"><span aria-hidden="true" class="icon-mastodon"></span>Mastodon</a></li>
204                                        <li class="tier-2 element-3" role="menuitem"><a href="/community/irc/"><span aria-hidden="true" class="icon-freenode"></span>Chat on IRC</a></li>
205                                        <li class="tier-2 element-4" role="menuitem"><a href="https://twitter.com/ThePSF"><span aria-hidden="true" class="icon-twitter"></span>Twitter</a></li>
206                                    </ul>
207                                </li>
208                            </ul>
209                        </div>
210                        <span data-html-include="/authenticated"></span>
211                    </div><!-- end options-bar -->
212                </div>
213
214                <nav id="mainnav" class="python-navigation main-navigation do-not-print">
215                    
216                        
217<ul class="navigation menu" role="menubar" aria-label="Main Navigation">
218  
219    
220    
221    <li id="about" class="tier-1 element-1  " aria-haspopup="true">
222        <a href="/about/" title="" class="">About</a>
223        
224            
225
226<ul class="subnav menu" role="menu" aria-hidden="true">
227    
228        <li class="tier-2 element-1" role="menuitem"><a href="/about/apps/" title="">Applications</a></li>
229    
230        <li class="tier-2 element-2" role="menuitem"><a href="/about/quotes/" title="">Quotes</a></li>
231    
232        <li class="tier-2 element-3" role="menuitem"><a href="/about/gettingstarted/" title="">Getting Started</a></li>
233    
234        <li class="tier-2 element-4" role="menuitem"><a href="/about/help/" title="">Help</a></li>
235    
236</ul>
237
238        
239    </li>
240    
241    
242    
243    <li id="downloads" class="tier-1 element-2  " aria-haspopup="true">
244        <a href="/downloads/" title="" class="">Downloads</a>
245        
246            
247
248<ul class="subnav menu" role="menu" aria-hidden="true">
249    
250        <li class="tier-2 element-1" role="menuitem"><a href="/downloads/" title="">All releases</a></li>
251    
252        <li class="tier-2 element-2" role="menuitem"><a href="/downloads/source/" title="">Source code</a></li>
253    
254        <li class="tier-2 element-3" role="menuitem"><a href="/downloads/windows/" title="">Windows</a></li>
255    
256        <li class="tier-2 element-4" role="menuitem"><a href="/downloads/macos/" title="">macOS</a></li>
257    
258        <li class="tier-2 element-5" role="menuitem"><a href="/downloads/android/" title="">Android</a></li>
259    
260        <li class="tier-2 element-6" role="menuitem"><a href="/downloads/ios/" title="">iOS</a></li>
261    
262        <li class="tier-2 element-7" role="menuitem"><a href="/download/other/" title="">Other Platforms</a></li>
263    
264        <li class="tier-2 element-8" role="menuitem"><a href="https://docs.python.org/3/license.html" title="">License</a></li>
265    
266        <li class="tier-2 element-9" role="menuitem"><a href="/download/alternatives" title="">Alternative Implementations</a></li>
267    
268</ul>
269
270        
271    </li>
272    
273    
274    
275    <li id="documentation" class="tier-1 element-3  " aria-haspopup="true">
276        <a href="/doc/" title="" class="">Documentation</a>
277        
278            
279
280<ul class="subnav menu" role="menu" aria-hidden="true">
281    
282        <li class="tier-2 element-1" role="menuitem"><a href="/doc/" title="">Docs</a></li>
283    
284        <li class="tier-2 element-2" role="menuitem"><a href="/doc/av" title="">Audio/Visual Talks</a></li>
285    
286        <li class="tier-2 element-3" role="menuitem"><a href="https://wiki.python.org/moin/BeginnersGuide" title="">Beginner&#x27;s Guide</a></li>
287    
288        <li class="tier-2 element-4" role="menuitem"><a href="https://docs.python.org/3/faq/" title="">FAQ</a></li>
289    
290        <li class="tier-2 element-5" role="menuitem"><a href="https://translations.python.org/" title="">Non-English Docs</a></li>
291    
292        <li class="tier-2 element-6" role="menuitem"><a href="https://peps.python.org" title="">PEP Index</a></li>
293    
294        <li class="tier-2 element-7" role="menuitem"><a href="https://wiki.python.org/moin/PythonBooks" title="">Python Books</a></li>
295    
296        <li class="tier-2 element-8" role="menuitem"><a href="/doc/essays/" title="">Python Essays</a></li>
297    
298</ul>
299
300        
301    </li>
302    
303    
304    
305    <li id="community" class="tier-1 element-4  " aria-haspopup="true">
306        <a href="/community/" title="" class="">Community</a>
307        
308            
309
310<ul class="subnav menu" role="menu" aria-hidden="true">
311    
312        <li class="tier-2 element-1" role="menuitem"><a href="/community/diversity/" title="">Diversity</a></li>
313    
314        <li class="tier-2 element-2" role="menuitem"><a href="/community/lists/" title="">Mailing Lists</a></li>
315    
316        <li class="tier-2 element-3" role="menuitem"><a href="/community/irc/" title="">IRC</a></li>
317    
318        <li class="tier-2 element-4" role="menuitem"><a href="/community/forums/" title="">Forums</a></li>
319    
320        <li class="tier-2 element-5" role="menuitem"><a href="/psf/annual-report/2024/" title="">PSF Annual Impact Report</a></li>
321    
322        <li class="tier-2 element-6" role="menuitem"><a href="/community/workshops/" title="">Python Conferences</a></li>
323    
324        <li class="tier-2 element-7" role="menuitem"><a href="/community/sigs/" title="">Special Interest Groups</a></li>
325    
326        <li class="tier-2 element-8" role="menuitem"><a href="/community/logos/" title="">Python Logo</a></li>
327    
328        <li class="tier-2 element-9" role="menuitem"><a href="https://wiki.python.org/moin/" title="">Python Wiki</a></li>
329    
330        <li class="tier-2 element-10" role="menuitem"><a href="/psf/conduct/" title="">Code of Conduct</a></li>
331    
332        <li class="tier-2 element-11" role="menuitem"><a href="/community/awards" title="">Community Awards</a></li>
333    
334        <li class="tier-2 element-12" role="menuitem"><a href="/psf/get-involved/" title="">Get Involved</a></li>
335    
336        <li class="tier-2 element-13" role="menuitem"><a href="/psf/community-stories/" title="">Shared Stories</a></li>
337    
338</ul>
339
340        
341    </li>
342    
343    
344    
345    <li id="success-stories" class="tier-1 element-5  " aria-haspopup="true">
346        <a href="/success-stories/" title="success-stories" class="">Success Stories</a>
347        
348            
349
350<ul class="subnav menu" role="menu" aria-hidden="true">
351    
352        <li class="tier-2 element-1" role="menuitem"><a href="/success-stories/category/arts/" title="">Arts</a></li>
353    
354        <li class="tier-2 element-2" role="menuitem"><a href="/success-stories/category/business/" title="">Business</a></li>
355    
356        <li class="tier-2 element-3" role="menuitem"><a href="/success-stories/category/education/" title="">Education</a></li>
357    
358        <li class="tier-2 element-4" role="menuitem"><a href="/success-stories/category/engineering/" title="">Engineering</a></li>
359    
360        <li class="tier-2 element-5" role="menuitem"><a href="/success-stories/category/government/" title="">Government</a></li>
361    
362        <li class="tier-2 element-6" role="menuitem"><a href="/success-stories/category/scientific/" title="">Scientific</a></li>
363    
364        <li class="tier-2 element-7" role="menuitem"><a href="/success-stories/category/software-development/" title="">Software Development</a></li>
365    
366</ul>
367
368        
369    </li>
370    
371    
372    
373    <li id="news" class="tier-1 element-6  " aria-haspopup="true">
374        <a href="/blogs/" title="News from around the Python world" class="">News</a>
375        
376            
377
378<ul class="subnav menu" role="menu" aria-hidden="true">
379    
380        <li class="tier-2 element-1" role="menuitem"><a href="/blogs/" title="Python Insider Blog Posts">Python News</a></li>
381    
382        <li class="tier-2 element-2" role="menuitem"><a href="/psf/newsletter/" title="Python Software Foundation Newsletter">PSF Newsletter</a></li>
383    
384        <li class="tier-2 element-3" role="menuitem"><a href="https://pyfound.blogspot.com" title="PSF Blog">PSF News</a></li>
385    
386        <li class="tier-2 element-4" role="menuitem"><a href="https://pycon.blogspot.com/" title="PyCon Blog">PyCon US News</a></li>
387    
388        <li class="tier-2 element-5" role="menuitem"><a href="https://blog.python.org" title="News and updates from the Python core team">Python Insider</a></li>
389    
390        <li class="tier-2 element-6" role="menuitem"><a href="https://planetpython.org/" title="Planet Python">News from the Community</a></li>
391    
392</ul>
393
394        
395    </li>
396    
397    
398    
399    <li id="events" class="tier-1 element-7  " aria-haspopup="true">
400        <a href="/events/" title="" class="">Events</a>
401        
402            
403
404<ul class="subnav menu" role="menu" aria-hidden="true">
405    
406        <li class="tier-2 element-1" role="menuitem"><a href="/events/python-events/" title="">Python Events</a></li>
407    
408        <li class="tier-2 element-2" role="menuitem"><a href="/events/python-user-group/" title="">User Group Events</a></li>
409    
410        <li class="tier-2 element-3" role="menuitem"><a href="/events/python-events/past/" title="">Python Events Archive</a></li>
411    
412        <li class="tier-2 element-4" role="menuitem"><a href="/events/python-user-group/past/" title="">User Group Events Archive</a></li>
413    
414        <li class="tier-2 element-5" role="menuitem"><a href="https://wiki.python.org/moin/PythonEventsCalendar#Submitting_an_Event" title="">Submit an Event</a></li>
415    
416</ul>
417
418        
419    </li>
420    
421    
422    
423    
424  
425</ul>
426
427                    
428                </nav>
429
430                <div class="header-banner "> <!-- for optional "do-not-print" class -->
431                    
432        <div id="dive-into-python" class="flex-slideshow slideshow">
433
434            <ul class="launch-shell menu" id="launch-shell">
435                <li>
436                    <a class="button prompt" id="start-shell" data-shell-container="#dive-into-python" href="/shell/">&gt;_
437                        <span class="message">Launch Interactive Shell</span>
438                    </a>
439                </li>
440            </ul>
441
442            <ul class="slides menu">
443                
444                <li>
445                    <div class="slide-code"><pre><code><span class="go"># Simple arithmetic</span>
446<span class="gp">&gt;&gt;&gt; </span><span class="mi">1</span> <span class="o">/</span> <span class="mi">2</span>
447<span class="go">0.5</span>
448<span class="gp">&gt;&gt;&gt; </span><span class="mi">2</span> <span class="o">**</span> <span class="mi">3</span>
449<span class="go">8</span>
450<span class="gp">&gt;&gt;&gt; </span><span class="mi">17</span> <span class="o">/</span> <span class="mi">3</span>  <span class="c1"># true division returns a float</span>
451<span class="go">5.666666666666667</span>
452<span class="gp">&gt;&gt;&gt; </span><span class="mi">17</span> <span class="o">//</span> <span class="mi">3</span>  <span class="c1"># floor division</span>
453<span class="go">5</span>
454</code></pre></div>
455                    <div class="slide-copy"><h1>Intuitive Interpretation</h1>
456<p>Calculations are simple with Python, and expression syntax is straightforward: the operators <code>+</code>, <code>-</code>, <code>*</code> and <code>/</code> work as expected; parentheses <code>()</code> can be used for grouping. <a href="http://docs.python.org/3/tutorial/introduction.html#using-python-as-a-calculator">More about simple math functions in Python&nbsp;3</a>.</p></div>
457                </li>
458                
459                <li>
460                    <div class="slide-code"><pre><code><span class="go"># Python 3: List comprehensions</span>
461<span class="gp">&gt;&gt;&gt; </span><span class="n">fruits</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Banana&#39;</span><span class="p">,</span> <span class="s1">&#39;Apple&#39;</span><span class="p">,</span> <span class="s1">&#39;Lime&#39;</span><span class="p">]</span>
462<span class="gp">&gt;&gt;&gt; </span><span class="n">loud_fruits</span> <span class="o">=</span> <span class="p">[</span><span class="n">fruit</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span> <span class="k">for</span> <span class="n">fruit</span> <span class="ow">in</span> <span class="n">fruits</span><span class="p">]</span>
463<span class="gp">&gt;&gt;&gt; </span><span class="nb">print</span><span class="p">(</span><span class="n">loud_fruits</span><span class="p">)</span>
464<span class="go">[&#39;BANANA&#39;, &#39;APPLE&#39;, &#39;LIME&#39;]</span>
465
466<span class="go"># List and the enumerate function</span>
467<span class="gp">&gt;&gt;&gt; </span><span class="nb">list</span><span class="p">(</span><span class="nb">enumerate</span><span class="p">(</span><span class="n">fruits</span><span class="p">))</span>
468<span class="go">[(0, &#39;Banana&#39;), (1, &#39;Apple&#39;), (2, &#39;Lime&#39;)]</span>
469</code></pre></div>
470                    <div class="slide-copy"><h1>Compound Data Types</h1>
471<p>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. <a href="//docs.python.org/3/tutorial/introduction.html#lists">More about lists in Python&nbsp;3</a></p></div>
472                </li>
473                
474                <li>
475                    <div class="slide-code"><pre><code><span class="go"># For loop on a list</span>
476<span class="gp">&gt;&gt;&gt; </span><span class="n">numbers</span> <span class="o">=</span> <span class="p">[</span><span class="mi">2</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]</span>
477<span class="gp">&gt;&gt;&gt; </span><span class="n">product</span> <span class="o">=</span> <span class="mi">1</span>
478<span class="gp">&gt;&gt;&gt; </span><span class="k">for</span> <span class="n">number</span> <span class="ow">in</span> <span class="n">numbers</span><span class="p">:</span>
479<span class="gp">... </span>   <span class="n">product</span> <span class="o">=</span> <span class="n">product</span> <span class="o">*</span> <span class="n">number</span>
480<span class="gp">... </span>
481<span class="gp">&gt;&gt;&gt; </span><span class="nb">print</span><span class="p">(</span><span class="s1">&#39;The product is:&#39;</span><span class="p">,</span> <span class="n">product</span><span class="p">)</span>
482<span class="go">The product is: 384</span>
483</code></pre></div>
484                    <div class="slide-copy"><h1>All the Flow You&rsquo;d Expect</h1>
485<p>Python knows the usual control flow statements that other languages speak &mdash; <code>if</code>, <code>for</code>, <code>while</code> and <code>range</code> &mdash; with some of its own twists, of course. <a href="//docs.python.org/3/tutorial/controlflow.html">More control flow tools in Python&nbsp;3</a></p></div>
486                </li>
487                
488                <li>
489                    <div class="slide-code"><pre><code><span class="go"># Python 3: Fibonacci series up to n</span>
490<span class="gp">&gt;&gt;&gt; </span><span class="k">def</span><span class="w"> </span><span class="nf">fib</span><span class="p">(</span><span class="n">n</span><span class="p">):</span>
491<span class="gp">&gt;&gt;&gt; </span>    <span class="n">a</span><span class="p">,</span> <span class="n">b</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">1</span>
492<span class="gp">&gt;&gt;&gt; </span>    <span class="k">while</span> <span class="n">a</span> <span class="o">&lt;</span> <span class="n">n</span><span class="p">:</span>
493<span class="gp">&gt;&gt;&gt; </span>
493        <span class="nb">print</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s1">&#39; &#39;</span><span class="p">)</span>
494<span class="gp">&gt;&gt;&gt; </span>        <span class="n">a</span><span class="p">,</span> <span class="n">b</span> <span class="o">=</span> <span class="n">b</span><span class="p">,</span> <span class="n">a</span><span class="o">+</span><span class="n">b</span>
495<span class="gp">&gt;&gt;&gt; </span>    <span class="nb">print</span><span class="p">()</span>
496<span class="gp">&gt;&gt;&gt; </span><span class="n">fib</span><span class="p">(</span><span class="mi">1000</span><span class="p">)</span>
497<span class="go">0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987</span>
498</code></pre></div>
499                    <div class="slide-copy"><h1>Functions Defined</h1>
500<p>The core of extensible programming is defining functions. Python allows mandatory and optional arguments, keyword arguments, and even arbitrary argument lists. <a href="//docs.python.org/3/tutorial/controlflow.html#defining-functions">More about defining functions in Python&nbsp;3</a></p></div>
501                </li>
502                
503                <li>
504                    <div class="slide-code"><pre><code><span class="go"># Simple output (with Unicode)</span>
505<span class="gp">&gt;&gt;&gt; </span><span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Hello, I&#39;m Python!&quot;</span><span class="p">)</span>
506<span class="go">Hello, I&#39;m Python!</span>
507
508<span class="go"># Input, assignment</span>
509<span class="gp">&gt;&gt;&gt; </span><span class="n">name</span> <span class="o">=</span> <span class="nb">input</span><span class="p">(</span><span class="s1">&#39;What is your name?</span><span class="se">\n</span><span class="s1">&#39;</span><span class="p">)</span>
510<span class="gp">&gt;&gt;&gt; </span><span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;Hi, </span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="s1">.&#39;</span><span class="p">)</span>
511<span class="go">What is your name?</span>
512<span class="go">Python</span>
513<span class="go">Hi, Python.</span>
514</code></pre></div>
515                    <div class="slide-copy"><h1>Quick &amp; Easy to Learn</h1>
516<p>Experienced programmers in any other language can pick up Python very quickly, and beginners find the clean syntax and indentation structure easy to learn. <a href="//docs.python.org/3/tutorial/">Whet your appetite</a> with our Python&nbsp;3 overview.</p></div>
517                </li>
518                
519            </ul>
520        </div>
521
522
523                </div>
524
525                
526        <div class="introduction">
527            <p>Python is a programming language that lets you work quickly <span class="breaker"></span>and integrate systems more effectively. <a class="readmore" href="/doc/">Learn More</a></p>
528        </div>
529
530
531             </div><!-- end .container -->
532        </header>
533
534        <div id="content" class="content-wrapper">
535            <!-- Main Content Column -->
536            <div class="container">
537
538                <section class="main-content " role="main">
539
540                    
541                    
542
543                    
544
545                    
546
547                
548
549                <div class="row">
550
551                    <div class="small-widget get-started-widget">
552                        <h2 class="widget-title"><span aria-hidden="true" class="icon-get-started"></span>Get Started</h2>
553<p>Whether you're new to programming or an experienced developer, it's easy to learn and use Python.</p>
554<p><a href="/about/gettingstarted/">Start with our Beginner&rsquo;s Guide</a></p>
555                    </div>
556
557                    <div class="small-widget download-widget">
558                        <h2 class="widget-title"><span class="icon-download"></span>Download</h2>
559<p>Python source code and installers are available for download for all versions!</p>
560<p>Latest: <a href="/downloads/release/python-3148/" rel="noopener noreferrer">Python 3.14.8</a></p>
561                    </div>
562
563                    <div class="small-widget documentation-widget">
564                        <h2 class="widget-title"><span aria-hidden="true" class="icon-documentation"></span>Docs</h2>
565<p>Documentation for Python's standard library, along with tutorials and guides, are available online.</p>
566<p><a href="https://docs.python.org">docs.python.org</a></p>
567                    </div>
568
569                    <div class="small-widget jobs-widget last">
570                        <h2 class="widget-title"><span aria-hidden="true" class="icon-jobs"></span>Jobs</h2>
571<p>Looking for work or have a Python related position that you're trying to hire for? Our <strong>relaunched community-run job board</strong> is the place to go.</p>
572<p><a href="//jobs.python.org">jobs.python.org</a></p>
573                    </div>
574
575                </div>
576
577                <div class="list-widgets row">
578
579                    <div class="medium-widget blog-widget">
580                        
581                        <div class="shrubbery">
582                        
583                            <h2 class="widget-title"><span aria-hidden="true" class="icon-news"></span>Latest News</h2>
584                            <p class="give-me-more"><a href="/blogs/">More news</a></p>
585                            
586                            <ul class="menu">
587                                
588                                
589                                <li>
590<time datetime="2026-10-01T00:00:00.000003+00:00"><span class="say-no-more">2026-</span>10-01</time>
591 <a href="https://blog.python.org/2026/10/python-31022-31117/">Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available!</a></li>
592                                
593                                <li>
594<time datetime="2026-09-30T13:22:49.000002+00:00"><span class="say-no-more">2026-</span>09-30</time>
595 <a href="https://pyfound.blogspot.com/2026/09/python-language-summit-2026.html">Python Language Summit 2026 blog posts are now available</a></li>
596                                
597                                <li>
598<time datetime="2026-09-30T12:00:11.000002+00:00"><span class="say-no-more">2026-</span>09-30</time>
599 <a href="https://blog.python.org/2026/09/language-summit-2026/">Python Language Summit 2026</a></li>
600                                
601                                <li>
602<time datetime="2026-09-30T12:00:10.000002+00:00"><span class="say-no-more">2026-</span>09-30</time>
603 <a href="https://blog.python.org/2026/09/language-summit-2026-lightning-talks/">Lightning Talks (Python Language Summit 2026)</a></li>
604                                
605                                <li>
606<time datetime="2026-09-30T12:00:09.000002+00:00"><span class="say-no-more">2026-</span>09-30</time>
607 <a href="https://blog.python.org/2026/09/language-summit-2026-pep-827-type-manipulation/">PEP 827: Type Manipulation (Python Language Summit 2026)</a></li>
608                                
609                            </ul>
610                        </div>
610<!-- end .shrubbery -->
611
612                    </div>
613
614                    <div class="medium-widget event-widget last">
615                        
616                        <div class="shrubbery">
617                        
618                            <h2 class="widget-title"><span aria-hidden="true" class="icon-calendar"></span>Upcoming Events</h2>
619                            <p class="give-me-more"><a href="/events/calendars/" title="More Events">More</a></p>
620                            
621                            <ul class="menu">
622                                
623                                
624                                
625                                <li>
626<time datetime="2026-10-03T00:00:00+00:00"><span class="say-no-more">2026-</span>10-03</time>
627 <a href="/events/python-events/2136/">PyBay 2026</a></li>
628                                
629                                
630                                
631                                <li>
632<time datetime="2026-10-07T00:00:00+00:00"><span class="say-no-more">2026-</span>10-07</time>
633 <a href="/events/python-events/2187/">PyCon Africa 2026</a></li>
634                                
635                                
636                                
637                                <li>
638<time datetime="2026-10-07T16:00:00+00:00"><span class="say-no-more">2026-</span>10-07</time>
639 <a href="/events/python-user-group/2215/">Python Meeting Düsseldorf</a></li>
640                                
641                                
642                                
643                                <li>
644<time datetime="2026-10-08T00:00:00+00:00"><span class="say-no-more">2026-</span>10-08</time>
645 <a href="/events/python-events/2134/">PyCon Estonia 2026</a></li>
646                                
647                                
648                                
649                                <li>
650<time datetime="2026-10-08T00:00:00+00:00"><span class="say-no-more">2026-</span>10-08</time>
651 <a href="/events/python-user-group/2210/">PyEducation – IPAF – Alda de Fátima</a></li>
652                                
653                                
654                            </ul>
655                        </div>
656
657                    </div>
658
659                </div>
660
661                <div class="row">
662
663                    <div class="medium-widget success-stories-widget">
664                        
665
666
667
668                        <div class="shrubbery">
669                            
670
671                            <h2 class="widget-title"><span aria-hidden="true" class="icon-success-stories"></span>Success Stories</h2>
672                            <p class="give-me-more"><a href="/success-stories/" title="More Success Stories">More</a></p>
673
674                            
675                            <div class="success-story-item" id="success-story-930">
676
677                            <blockquote>
678                                <a href="/success-stories/python-for-financial-machine-learning-at-union-investment/">Python and its broad variety of libraries are very well suited to develop customized machine learning tools which tackle the complex challenges posed by financial time series.</a>
679                            </blockquote>
680
681                            <table class="quote-from">
682                                <tbody>
683                                    <tr>
684                                        
685                                        <td><p><a href="/success-stories/python-for-financial-machine-learning-at-union-investment/">Python for Financial Machine Learning at Union Investment</a> <em>by Dr. Christian Mandery and Nikolas Gerlich</em></p></td>
686                                    </tr>
687                                </tbody>
688                            </table>
689                            </div>
690                            
691
692                        </div><!-- end .shrubbery -->
693
694                    </div>
695
696                    <div class="medium-widget applications-widget last">
697                        <div class="shrubbery">
698                            <h2 class="widget-title"><span aria-hidden="true" class="icon-python"></span>Use Python for&hellip;</h2>
699<p class="give-me-more"><a href="/about/apps" title="More Applications">More</a></p>
700
701<ul class="menu">
702    <li><b>Web Development</b>:
703        <span class="tag-wrapper"><a class="tag" href="https://www.djangoproject.com/">Django</a>, <a class="tag" href="https://trypyramid.com/">Pyramid</a>, <a class="tag" href="https://bottlepy.org">Bottle</a>, <a class="tag" href="https://www.tornadoweb.org/">Tornado</a>, <a href="https://flask.palletsprojects.com/" class="tag">Flask</a>, <a href="https://litestar.dev/" class="tag">Litestar</a>, <a class="tag" href="https://fastapi.tiangolo.com/">FastAPI</a></span></li>
704    <li><b>GUI Development</b>:
705        <span class="tag-wrapper"><a class="tag" href="https://en.wikipedia.org/wiki/Tkinter">tkInter</a>, <a class="tag" href="https://pygobject.gnome.org/">PyGObject</a>, <a class="tag" href="https://riverbankcomputing.com/software/pyqt/intro">PyQt</a>, <a class="tag" href="https://wiki.qt.io/Qt_for_Python">PySide</a>, <a class="tag" href="https://kivy.org/">Kivy</a>, <a class="tag" href="https://www.wxpython.org/">wxPython</a>, <a class="tag" href="https://dearpygui.readthedocs.io/en/latest/">DearPyGui</a></span></li>
706    <li><b>AI and Machine Learning</b>:
707        <span class="tag-wrapper"><a class="tag" href="https://pytorch.org/">PyTorch</a>, <a class="tag" href="https://www.tensorflow.org/">TensorFlow</a>, <a class="tag" href="https://scikit-learn.org/">scikit-learn</a>, <a class="tag" href="https://huggingface.co/docs/transformers/">Transformers</a>, <a class="tag" href="https://docs.anthropic.com/">Anthropic</a>, <a class="tag" href="https://langchain.com/">LangChain</a></span></li>
708    <li><b>Scientific and Numeric</b>:
709        <span class="tag-wrapper"><a class="tag" href="https://scipy.org/">SciPy</a>, <a class="tag" href="https://pandas.pydata.org/">Pandas</a>, <a href="https://ipython.org/" class="tag">IPython</a></span></li>
710    <li><b>Software Development</b>:
711        <span class="tag-wrapper"><a class="tag" href="https://buildbot.net/">Buildbot</a>, <a class="tag" href="https://trac.edgewall.org/">Trac</a>, <a class="tag" href="https://www.roundup-tracker.org/">Roundup</a></span></li>
712    <li><b>System Administration</b>:
713        <span class="tag-wrapper"><a class="tag" href="https://docs.ansible.com/">Ansible</a>, <a class="tag" href="https://saltproject.io/">Salt</a>, <a class="tag" href="https://www.openstack.org/">OpenStack</a>, <a class="tag" href="https://xon.sh/">xonsh</a></span></li>
714</ul>
715                        </div><!-- end .shrubbery -->
716                    </div>
717
718                </div>
719
720                                <div class="psf-widget">
721
722                    <div class="python-logo"></div>
723                    
724                    <h2 class="widget-title">
725    <span class="prompt">&gt;&gt;&gt;</span> <a href="/psf/">Python Software Foundation</a>
726</h2>
727<p>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. <a class="readmore" href="/psf/">Learn more</a> </p>
728<p class="click-these">
729    <a class="button" href="/psf/membership/">Become a Member</a>
730    <a class="button" href="/psf/donations/">Donate to the PSF</a>
731</p>
732                </div>
733
734
735
736
737                </section>
738
739                
740                
741
742                
743                
744
745
746            </div><!-- end .container -->
747        </div><!-- end #content .content-wrapper -->
748
749        <!-- Footer and social media list -->
750        
751        <footer id="site-map" class="main-footer">
752            <div class="main-footer-links">
753                <div class="container">
754
755                    
756                    <a id="back-to-top-1" class="jump-link" href="#python-network"><span aria-hidden="true" class="icon-arrow-up"><span>&#9650;</span></span> Back to Top</a>
757
758                    
759
760<ul class="sitemap navigation menu do-not-print" role="tree" id="container">
761    
762    <li class="tier-1 element-1">
763        <a href="/about/" >About</a>
764        
765            
766
767<ul class="subnav menu">
768    
769        <li class="tier-2 element-1" role="treeitem"><a href="/about/apps/" title="">Applications</a></li>
770    
771        <li class="tier-2 element-2" role="treeitem"><a href="/about/quotes/" title="">Quotes</a></li>
772    
773        <li class="tier-2 element-3" role="treeitem"><a href="/about/gettingstarted/" title="">Getting Started</a></li>
774    
775        <li class="tier-2 element-4" role="treeitem"><a href="/about/help/" title="">Help</a></li>
776    
777</ul>
778
779        
780    </li>
781    
782    <li class="tier-1 element-2">
783        <a href="/downloads/" >Downloads</a>
784        
785            
786
787<ul class="subnav menu">
788    
789        <li class="tier-2 element-1" role="treeitem"><a href="/downloads/" title="">All releases</a></li>
790    
791        <li class="tier-2 element-2" role="treeitem"><a href="/downloads/source/" title="">Source code</a></li>
792    
793        <li class="tier-2 element-3" role="treeitem"><a href="/downloads/windows/" title="">Windows</a></li>
794    
795        <li class="tier-2 element-4" role="treeitem"><a href="/downloads/macos/" title="">macOS</a></li>
796    
797        <li class="tier-2 element-5" role="treeitem"><a href="/downloads/android/" title="">Android</a></li>
798    
799        <li class="tier-2 element-6" role="treeitem"><a href="/downloads/ios/" title="">iOS</a></li>
800    
801        <li class="tier-2 element-7" role="treeitem"><a href="/download/other/" title="">Other Platforms</a></li>
802    
803        <li class="tier-2 element-8" role="treeitem"><a href="https://docs.python.org/3/license.html" title="">License</a></li>
804    
805        <li class="tier-2 element-9" role="treeitem"><a href="/download/alternatives" title="">Alternative Implementations</a></li>
806    
807</ul>
808
809        
810    </li>
811    
812    <li class="tier-1 element-3">
813        <a href="/doc/" >Documentation</a>
814        
815            
816
817<ul class="subnav menu">
818    
819        <li class="tier-2 element-1" role="treeitem"><a href="/doc/" title="">Docs</a></li>
820    
821        <li class="tier-2 element-2" role="treeitem"><a href="/doc/av" title="">Audio/Visual Talks</a></li>
822    
823        <li class="tier-2 element-3" role="treeitem"><a href="https://wiki.python.org/moin/BeginnersGuide" title="">Beginner&#x27;
823s Guide</a></li>
824    
825        <li class="tier-2 element-4" role="treeitem"><a href="https://docs.python.org/3/faq/" title="">FAQ</a></li>
826    
827        <li class="tier-2 element-5" role="treeitem"><a href="https://translations.python.org/" title="">Non-English Docs</a></li>
828    
829        <li class="tier-2 element-6" role="treeitem"><a href="https://peps.python.org" title="">PEP Index</a></li>
830    
831        <li class="tier-2 element-7" role="treeitem"><a href="https://wiki.python.org/moin/PythonBooks" title="">Python Books</a></li>
832    
833        <li class="tier-2 element-8" role="treeitem"><a href="/doc/essays/" title="">Python Essays</a></li>
834    
835</ul>
836
837        
838    </li>
839    
840    <li class="tier-1 element-4">
841        <a href="/community/" >Community</a>
842        
843            
844
845<ul class="subnav menu">
846    
847        <li class="tier-2 element-1" role="treeitem"><a href="/community/diversity/" title="">Diversity</a></li>
848    
849        <li class="tier-2 element-2" role="treeitem"><a href="/community/lists/" title="">Mailing Lists</a></li>
850    
851        <li class="tier-2 element-3" role="treeitem"><a href="/community/irc/" title="">IRC</a></li>
852    
853        <li class="tier-2 element-4" role="treeitem"><a href="/community/forums/" title="">Forums</a></li>
854    
855        <li class="tier-2 element-5" role="treeitem"><a href="/psf/annual-report/2024/" title="">PSF Annual Impact Report</a></li>
856    
857        <li class="tier-2 element-6" role="treeitem"><a href="/community/workshops/" title="">Python Conferences</a></li>
858    
859        <li class="tier-2 element-7" role="treeitem"><a href="/community/sigs/" title="">Special Interest Groups</a></li>
860    
861        <li class="tier-2 element-8" role="treeitem"><a href="/community/logos/" title="">Python Logo</a></li>
862    
863        <li class="tier-2 element-9" role="treeitem"><a href="https://wiki.python.org/moin/" title="">Python Wiki</a></li>
864    
865        <li class="tier-2 element-10" role="treeitem"><a href="/psf/conduct/" title="">Code of Conduct</a></li>
866    
867        <li class="tier-2 element-11" role="treeitem"><a href="/community/awards" title="">Community Awards</a></li>
868    
869        <li class="tier-2 element-12" role="treeitem"><a href="/psf/get-involved/" title="">Get Involved</a></li>
870    
871        <li class="tier-2 element-13" role="treeitem"><a href="/psf/community-stories/" title="">Shared Stories</a></li>
872    
873</ul>
874
875        
876    </li>
877    
878    <li class="tier-1 element-5">
879        <a href="/success-stories/" title="success-stories">Success Stories</a>
880        
881            
882
883<ul class="subnav menu">
884    
885        <li class="tier-2 element-1" role="treeitem"><a href="/success-stories/category/arts/" title="">Arts</a></li>
886    
887        <li class="tier-2 element-2" role="treeitem"><a href="/success-stories/category/business/" title="">Business</a></li>
888    
889        <li class="tier-2 element-3" role="treeitem"><a href="/success-stories/category/education/" title="">Education</a></li>
890    
891        <li class="tier-2 element-4" role="treeitem"><a href="/success-stories/category/engineering/" title="">Engineering</a></li>
892    
893        <li class="tier-2 element-5" role="treeitem"><a href="/success-stories/category/government/" title="">Government</a></li>
894    
895        <li class="tier-2 element-6" role="treeitem"><a href="/success-stories/category/scientific/" title="">Scientific</a></li>
896    
897        <li class="tier-2 element-7" role="treeitem"><a href="/success-stories/category/software-development/" title="">Software Development</a></li>
898    
899</ul>
900
901        
902    </li>
903    
904    <li class="tier-1 element-6">
905        <a href="/blogs/" title="News from around the Python world">News</a>
906        
907            
908
909<ul class="subnav menu">
910    
911        <li class="tier-2 element-1" role="treeitem"><a href="/blogs/" title="Python Insider Blog Posts">Python News</a></li>
912    
913        <li class="tier-2 element-2" role="treeitem"><a href="/psf/newsletter/" title="Python Software Foundation Newsletter">PSF Newsletter</a></li>
914    
915        <li class="tier-2 element-3" role="treeitem"><a href="https://pyfound.blogspot.com" title="PSF Blog">PSF News</a></li>
916    
917        <li class="tier-2 element-4" role="treeitem"><a href="https://pycon.blogspot.com/" title="PyCon Blog">PyCon US News</a></li>
918    
919        <li class="tier-2 element-5" role="treeitem"><a href="https://blog.python.org" title="News and updates from the Python core team">Python Insider</a></li>
920    
921        <li class="tier-2 element-6" role="treeitem"><a href="https://planetpython.org/" title="Planet Python">News from the Community</a></li>
922    
923</ul>
924
925        
926    </li>
927    
928    <li class="tier-1 element-7">
929        <a href="/events/" >Events</a>
930        
931            
932
933<ul class="subnav menu">
934    
935        <li class="tier-2 element-1" role="treeitem"><a href="/events/python-events/" title="">Python Events</a></li>
936    
937        <li class="tier-2 element-2" role="treeitem"><a href="/events/python-user-group/" title="">User Group Events</a></li>
938    
939        <li class="tier-2 element-3" role="treeitem"><a href="/events/python-events/past/" title="">Python Events Archive</a></li>
940    
941        <li class="tier-2 element-4" role="treeitem"><a href="/events/python-user-group/past/" title="">User Group Events Archive</a></li>
942    
943        <li class="tier-2 element-5" role="treeitem"><a href="https://wiki.python.org/moin/PythonEventsCalendar#Submitting_an_Event" title="">Submit an Event</a></li>
944    
945</ul>
946
947        
948    </li>
949    
950    <li class="tier-1 element-8">
951        <a href="/dev/" >Contributing</a>
952        
953            
954
955<ul class="subnav menu">
956    
957        <li class="tier-2 element-1" role="treeitem"><a href="https://devguide.python.org/" title="">Developer&#x27;
957s Guide</a></li>
958    
959        <li class="tier-2 element-2" role="treeitem"><a href="https://github.com/python/cpython/issues" title="">Issue Tracker</a></li>
960    
961        <li class="tier-2 element-3" role="treeitem"><a href="https://mail.python.org/mailman/listinfo/python-dev" title="">python-dev list</a></li>
962    
963        <li class="tier-2 element-4" role="treeitem"><a href="/dev/core-mentorship/" title="">Core Mentorship</a></li>
964    
965        <li class="tier-2 element-5" role="treeitem"><a href="/dev/security/" title="">Report a Security Issue</a></li>
966    
967</ul>
968
969        
970    </li>
971    
972</ul>
973
974
975                    <a id="back-to-top-2" class="jump-link" href="#python-network"><span aria-hidden="true" class="icon-arrow-up"><span>&#9650;</span></span> Back to Top</a>
976                    
977
978                </div><!-- end .container -->
979            </div> <!-- end .main-footer-links -->
980
981            <div class="site-base">
982                <div class="container">
983                    
984                    <ul class="footer-links navigation menu do-not-print" role="tree">
985                        <li class="tier-1 element-1"><a href="/about/help/">Help &amp; <span class="say-no-more">General</span> Contact</a></li>
986                        <li class="tier-1 element-2"><a href="/community/diversity/">Diversity <span class="say-no-more">Initiatives</span></a></li>
987                        <li class="tier-1 element-3"><a href="https://github.com/python/pythondotorg/issues">Submit Website Bug</a></li>
988                        <li class="tier-1 element-4">
989                            <a href="https://status.python.org/">Status <span class="python-status-indicator-default" id="python-status-indicator"></span></a>
990                        </li>
991                    </ul>
992
993                    <div class="copyright">
994                        <p><small>
995                            <span class="pre">Copyright &copy;2001-2026.</span>
996                            &nbsp;<span class="pre"><a href="/psf-landing/">Python Software Foundation</a></span>
997                            &nbsp;<span class="pre"><a href="/about/legal/">Legal Statements</a></span>
998                            &nbsp;<span class="pre"><a href="https://policies.python.org/python.org/Privacy-Notice/">Privacy Notice</a></span>
999                            <!--&nbsp;<span class="pre"><a href="/psf/community-infrastructure">Powered by PSF Community Infrastructure</a></span>-->
1000                        </small></p>
1001                    </div>
1002
1003                </div><!-- end .container -->
1004            </div><!-- end .site-base -->
1005
1006        </footer>
1007        
1008
1009    </div><!-- end #touchnav-wrapper -->
1010
1011    
1012    
1012<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
1012
1013    
1013<script nonce="5WjYXtUGyOaBKKOY1lOJeQ==">window.jQuery || document.write('
1013<script src="/static/js/libs/jquery-1.8.2.min.js"><\/script>')</script>
1013
1014    
1014<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
1014
1015    
1015<script nonce="5WjYXtUGyOaBKKOY1lOJeQ==">window.jQuery || document.write('
1015<script src="/static/js/libs/jquery-ui-1.12.1.min.js"><\/script>')</script>
1015
1016
1017    
1017<script src="/static/js/libs/masonry.pkgd.min.js"></script>
1017
1018    
1018<script src="/static/js/libs/html-includes.js"></script>
1018
1019
1020    
1020<script type="text/javascript" src="/static/js/main-min.b1e587ad1920.js" charset="utf-8"></script>
1020
1021    
1022
1023    
1024
1025    
1026    
1027
1028</body>
1029</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.