CINXE.COM
Python (programmeertaal) - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="nl" dir="ltr"> <head> <meta charset="UTF-8"> <title>Python (programmeertaal) - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )nlwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],"wgRequestId":"874cc52e-69f9-4f1e-8368-a51f15117b22","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Python_(programmeertaal)","wgTitle":"Python (programmeertaal)","wgCurRevisionId":68104427,"wgRevisionId":68104427,"wgArticleId":3580,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Opensourcesoftware en vrije software","Programmeertaal","Python (programmeertaal)","Wiskundige software"],"wgPageViewLanguage":"nl","wgPageContentLanguage":"nl","wgPageContentModel":"wikitext","wgRelevantPageName":"Python_(programmeertaal)","wgRelevantArticleId":3580,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive" :true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"nl","pageLanguageDir":"ltr","pageVariantFallbacks":"nl"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q28865","wgCheckUserClientHintsHeadersJsApi":["architecture","bitness","brands","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready", "user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Direct-link-to-Commons","ext.gadget.ProtectionTemplates","ext.gadget.InterProjectLinks","ext.gadget.hoofdbetekenis-titelwijziging","ext.gadget.switcher","ext.gadget.OpenStreetMapFrame","ext.gadget.subpages","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init", "ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=nl&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=nl&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=nl&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.3"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/1200px-Python-logo-notext.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1315"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/800px-Python-logo-notext.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="877"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/640px-Python-logo-notext.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="701"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Python (programmeertaal) - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//nl.m.wikipedia.org/wiki/Python_(programmeertaal)"> <link rel="alternate" type="application/x-wiki" title="Bewerken" href="/w/index.php?title=Python_(programmeertaal)&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (nl)"> <link rel="EditURI" type="application/rsd+xml" href="//nl.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://nl.wikipedia.org/wiki/Python_(programmeertaal)"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.nl"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom-feed" href="/w/index.php?title=Speciaal:RecenteWijzigingen&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Python_programmeertaal rootpage-Python_programmeertaal skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Naar inhoud springen</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Hoofdmenu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Hoofdmenu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Hoofdmenu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">verbergen</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigatie </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Hoofdpagina" title="Naar de hoofdpagina gaan [z]" accesskey="z"><span>Hoofdpagina</span></a></li><li id="n-zoekartikel" class="mw-list-item"><a href="/wiki/Portaal:Navigatie"><span>Vind een artikel</span></a></li><li id="n-today" class="mw-list-item"><a href="/wiki/20_november"><span>Vandaag</span></a></li><li id="n-Etalage" class="mw-list-item"><a href="/wiki/Wikipedia:Etalage"><span>Etalage</span></a></li><li id="n-categories" class="mw-list-item"><a href="/wiki/Categorie:Alles"><span>Categorieën</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Speciaal:RecenteWijzigingen" title="Een lijst met recente wijzigingen in deze wiki. [r]" accesskey="r"><span>Recente wijzigingen</span></a></li><li id="n-newpages" class="mw-list-item"><a href="/wiki/Speciaal:NieuwePaginas"><span>Nieuwe artikelen</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Speciaal:Willekeurig" title="Een willekeurige pagina bekijken [x]" accesskey="x"><span>Willekeurige pagina</span></a></li> </ul> </div> </div> <div id="p-navigation2" class="vector-menu mw-portlet mw-portlet-navigation2" > <div class="vector-menu-heading"> Informatie </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Portaal:Gebruikersportaal" title="Informatie over het project: wat u kunt doen, waar u dingen kunt vinden"><span>Gebruikersportaal</span></a></li><li id="n-Snelcursus" class="mw-list-item"><a href="/wiki/Wikipedia:Snelcursus"><span>Snelcursus</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Portaal:Hulp_en_beheer" title="Hulpinformatie over deze wiki"><span>Hulp en contact</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Hoofdpagina" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="de vrije encyclopedie" src="/static/images/mobile/copyright/wikipedia-tagline-nl.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Speciaal:Zoeken" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Doorzoek Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Zoeken</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Doorzoek Wikipedia" aria-label="Doorzoek Wikipedia" autocapitalize="sentences" title="Doorzoek Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Speciaal:Zoeken"> </div> <button class="cdx-button cdx-search-input__end-button">Zoeken</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Persoonlijke hulpmiddelen"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Uiterlijk"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="De lettergrootte, breedte en kleur van de pagina wijzigen" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Uiterlijk" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Uiterlijk</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_nl.wikipedia.org&uselang=nl" class=""><span>Doneren</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciaal:GebruikerAanmaken&returnto=Python+%28programmeertaal%29" title="Registreer u vooral en meld u aan. Dit is echter niet verplicht." class=""><span>Account aanmaken</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciaal:Aanmelden&returnto=Python+%28programmeertaal%29" title="U wordt van harte uitgenodigd om aan te melden, maar dit is niet verplicht [o]" accesskey="o" class=""><span>Aanmelden</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Meer opties" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Persoonlijke hulpmiddelen" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Persoonlijke hulpmiddelen</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Gebruikersmenu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_nl.wikipedia.org&uselang=nl"><span>Doneren</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciaal:GebruikerAanmaken&returnto=Python+%28programmeertaal%29" title="Registreer u vooral en meld u aan. Dit is echter niet verplicht."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Account aanmaken</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciaal:Aanmelden&returnto=Python+%28programmeertaal%29" title="U wordt van harte uitgenodigd om aan te melden, maar dit is niet verplicht [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Aanmelden</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pagina's voor uitgelogde redacteuren <a href="/wiki/Help:Inleiding" aria-label="Meer leren over bewerken"><span>meer lezen</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Speciaal:MijnBijdragen" title="Bijdragen IP-adres [y]" accesskey="y"><span>Bijdragen</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Speciaal:MijnOverleg" title="Overlegpagina van de anonieme gebruiker van dit IP-adres [n]" accesskey="n"><span>Overleg</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Inhoud" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Inhoud</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">verbergen</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Top</div> </a> </li> <li id="toc-Kenmerken" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Kenmerken"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Kenmerken</span> </div> </a> <button aria-controls="toc-Kenmerken-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Kenmerken-subkopje inklappen</span> </button> <ul id="toc-Kenmerken-sublist" class="vector-toc-list"> <li id="toc-Syntaxis" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Syntaxis"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Syntaxis</span> </div> </a> <ul id="toc-Syntaxis-sublist" class="vector-toc-list"> <li id="toc-Inspringing" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Inspringing"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.1</span> <span>Inspringing</span> </div> </a> <ul id="toc-Inspringing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Duck-typing" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Duck-typing"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.2</span> <span>Duck-typing</span> </div> </a> <ul id="toc-Duck-typing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-EAFP" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#EAFP"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1.3</span> <span>EAFP</span> </div> </a> <ul id="toc-EAFP-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Uitvoering" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Uitvoering"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Uitvoering</span> </div> </a> <ul id="toc-Uitvoering-sublist" class="vector-toc-list"> <li id="toc-Interpreter" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Interpreter"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2.1</span> <span>Interpreter</span> </div> </a> <ul id="toc-Interpreter-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Garbage_collection" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Garbage_collection"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2.2</span> <span>Garbage collection</span> </div> </a> <ul id="toc-Garbage_collection-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Standalone_executables" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Standalone_executables"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2.3</span> <span>Standalone executables</span> </div> </a> <ul id="toc-Standalone_executables-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Bibliotheken" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Bibliotheken"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Bibliotheken</span> </div> </a> <ul id="toc-Bibliotheken-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Syntaxis_2" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Syntaxis_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Syntaxis</span> </div> </a> <button aria-controls="toc-Syntaxis_2-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Syntaxis-subkopje inklappen</span> </button> <ul id="toc-Syntaxis_2-sublist" class="vector-toc-list"> <li id="toc-Uitvoer" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Uitvoer"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Uitvoer</span> </div> </a> <ul id="toc-Uitvoer-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Commentaar" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Commentaar"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Commentaar</span> </div> </a> <ul id="toc-Commentaar-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Variabelen_en_feedback" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Variabelen_en_feedback"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Variabelen en feedback</span> </div> </a> <ul id="toc-Variabelen_en_feedback-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Expressies" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Expressies"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>Expressies</span> </div> </a> <ul id="toc-Expressies-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Booleaanse_operatoren" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Booleaanse_operatoren"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5</span> <span>Booleaanse operatoren</span> </div> </a> <ul id="toc-Booleaanse_operatoren-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Beslissingen" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Beslissingen"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.6</span> <span>Beslissingen</span> </div> </a> <ul id="toc-Beslissingen-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Datastructuren" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Datastructuren"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.7</span> <span>Datastructuren</span> </div> </a> <ul id="toc-Datastructuren-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Repetitie" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Repetitie"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.8</span> <span>Repetitie</span> </div> </a> <ul id="toc-Repetitie-sublist" class="vector-toc-list"> <li id="toc-For-statement" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#For-statement"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.8.1</span> <span>For-statement</span> </div> </a> <ul id="toc-For-statement-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-While-statement" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#While-statement"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.8.2</span> <span>While-statement</span> </div> </a> <ul id="toc-While-statement-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Abstractie" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Abstractie"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.9</span> <span>Abstractie</span> </div> </a> <ul id="toc-Abstractie-sublist" class="vector-toc-list"> <li id="toc-Functies" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Functies"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.9.1</span> <span>Functies</span> </div> </a> <ul id="toc-Functies-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Foutafhandeling" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Foutafhandeling"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.10</span> <span>Foutafhandeling</span> </div> </a> <ul id="toc-Foutafhandeling-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Implementaties_en_versies" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Implementaties_en_versies"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Implementaties en versies</span> </div> </a> <button aria-controls="toc-Implementaties_en_versies-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Implementaties en versies-subkopje inklappen</span> </button> <ul id="toc-Implementaties_en_versies-sublist" class="vector-toc-list"> <li id="toc-CPython" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#CPython"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>CPython</span> </div> </a> <ul id="toc-CPython-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Jython" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Jython"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Jython</span> </div> </a> <ul id="toc-Jython-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-IronPython" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#IronPython"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>IronPython</span> </div> </a> <ul id="toc-IronPython-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-PyPy" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#PyPy"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>PyPy</span> </div> </a> <ul id="toc-PyPy-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Use_cases_van_Python" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Use_cases_van_Python"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Use cases van Python</span> </div> </a> <button aria-controls="toc-Use_cases_van_Python-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Use cases van Python-subkopje inklappen</span> </button> <ul id="toc-Use_cases_van_Python-sublist" class="vector-toc-list"> <li id="toc-OS_Scripting" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#OS_Scripting"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>OS Scripting</span> </div> </a> <ul id="toc-OS_Scripting-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Wiskunde_en_wetenschap" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Wiskunde_en_wetenschap"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Wiskunde en wetenschap</span> </div> </a> <ul id="toc-Wiskunde_en_wetenschap-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Web" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Web"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>Web</span> </div> </a> <ul id="toc-Web-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Zie_ook" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Zie_ook"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Zie ook</span> </div> </a> <ul id="toc-Zie_ook-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Externe_links" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Externe_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Externe links</span> </div> </a> <ul id="toc-Externe_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Inhoud" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Inhoudsopgave omschakelen" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Inhoudsopgave omschakelen</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Python (programmeertaal)</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Ga naar een artikel in een andere taal. Beschikbaar in 112 talen" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-112" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">112 talen</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/Python_(programmeertaal)" title="Python (programmeertaal) – Afrikaans" lang="af" hreflang="af" data-title="Python (programmeertaal)" data-language-autonym="Afrikaans" data-language-local-name="Afrikaans" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-als mw-list-item"><a href="https://als.wikipedia.org/wiki/Python_(Programmiersprache)" title="Python (Programmiersprache) – Zwitserduits" lang="gsw" hreflang="gsw" data-title="Python (Programmiersprache)" data-language-autonym="Alemannisch" data-language-local-name="Zwitserduits" class="interlanguage-link-target"><span>Alemannisch</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/Python" title="Python – Aragonees" lang="an" hreflang="an" data-title="Python" data-language-autonym="Aragonés" data-language-local-name="Aragonees" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ar badge-Q17437798 badge-goodarticle mw-list-item" title="goed artikel"><a href="https://ar.wikipedia.org/wiki/%D8%A8%D8%A7%D9%8A%D8%AB%D9%88%D9%86_(%D9%84%D8%BA%D8%A9_%D8%A8%D8%B1%D9%85%D8%AC%D8%A9)" title="بايثون (لغة برمجة) – Arabisch" lang="ar" hreflang="ar" data-title="بايثون (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="Arabisch" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-as mw-list-item"><a href="https://as.wikipedia.org/wiki/%E0%A6%AA%E0%A6%BE%E0%A6%87%E0%A6%A5%E0%A6%A8" title="পাইথন – Assamees" lang="as" hreflang="as" data-title="পাইথন" data-language-autonym="অসমীয়া" data-language-local-name="Assamees" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/Python" title="Python – Asturisch" lang="ast" hreflang="ast" data-title="Python" data-language-autonym="Asturianu" data-language-local-name="Asturisch" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/Python_(proqramla%C5%9Fd%C4%B1rma_dili)" title="Python (proqramlaşdırma dili) – Azerbeidzjaans" lang="az" hreflang="az" data-title="Python (proqramlaşdırma dili)" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbeidzjaans" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D9%BE%D8%A7%DB%8C%D8%AA%D9%88%D9%86" title="پایتون – South Azerbaijani" lang="azb" hreflang="azb" data-title="پایتون" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-ban mw-list-item"><a href="https://ban.wikipedia.org/wiki/Python" title="Python – Balinees" lang="ban" hreflang="ban" data-title="Python" data-language-autonym="Basa Bali" data-language-local-name="Balinees" class="interlanguage-link-target"><span>Basa Bali</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/Python_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%B0%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="Python (мова праграмавання) – Belarussisch" lang="be" hreflang="be" data-title="Python (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="Belarussisch" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/Python" title="Python – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="Python" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/Python" title="Python – Bulgaars" lang="bg" hreflang="bg" data-title="Python" data-language-autonym="Български" data-language-local-name="Bulgaars" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bh mw-list-item"><a href="https://bh.wikipedia.org/wiki/%E0%A4%AA%E0%A4%BE%E0%A4%87%E0%A4%A5%E0%A4%A8" title="पाइथन – Bhojpuri" lang="bh" hreflang="bh" data-title="पाइथन" data-language-autonym="भोजपुरी" data-language-local-name="Bhojpuri" class="interlanguage-link-target"><span>भोजपुरी</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%AA%E0%A6%BE%E0%A6%87%E0%A6%A5%E0%A6%A8_(%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE)" title="পাইথন (প্রোগ্রামিং ভাষা) – Bengaals" lang="bn" hreflang="bn" data-title="পাইথন (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="Bengaals" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-br mw-list-item"><a href="https://br.wikipedia.org/wiki/Python_(lavar_programmi%C3%B1)" title="Python (lavar programmiñ) – Bretons" lang="br" hreflang="br" data-title="Python (lavar programmiñ)" data-language-autonym="Brezhoneg" data-language-local-name="Bretons" class="interlanguage-link-target"><span>Brezhoneg</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/Python_(programski_jezik)" title="Python (programski jezik) – Bosnisch" lang="bs" hreflang="bs" data-title="Python (programski jezik)" data-language-autonym="Bosanski" data-language-local-name="Bosnisch" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-bug mw-list-item"><a href="https://bug.wikipedia.org/wiki/Python" title="Python – Buginees" lang="bug" hreflang="bug" data-title="Python" data-language-autonym="Basa Ugi" data-language-local-name="Buginees" class="interlanguage-link-target"><span>Basa Ugi</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Python" title="Python – Catalaans" lang="ca" hreflang="ca" data-title="Python" data-language-autonym="Català" data-language-local-name="Catalaans" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ceb mw-list-item"><a href="https://ceb.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Cebuano" lang="ceb" hreflang="ceb" data-title="Python (programming language)" data-language-autonym="Cebuano" data-language-local-name="Cebuano" class="interlanguage-link-target"><span>Cebuano</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D9%BE%D8%A7%DB%8C%D8%AA%DB%86%D9%86_(%D8%B2%D9%85%D8%A7%D9%86%DB%8C_%D8%A8%DB%95%D8%B1%D9%86%D8%A7%D9%85%DB%95%D8%B3%D8%A7%D8%B2%DB%8C)" title="پایتۆن (زمانی بەرنامەسازی) – Soranî" lang="ckb" hreflang="ckb" data-title="پایتۆن (زمانی بەرنامەسازی)" data-language-autonym="کوردی" data-language-local-name="Soranî" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Python" title="Python – Tsjechisch" lang="cs" hreflang="cs" data-title="Python" data-language-autonym="Čeština" data-language-local-name="Tsjechisch" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/Python_(iaith_raglennu)" title="Python (iaith raglennu) – Welsh" lang="cy" hreflang="cy" data-title="Python (iaith raglennu)" data-language-autonym="Cymraeg" data-language-local-name="Welsh" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Python_(programmeringssprog)" title="Python (programmeringssprog) – Deens" lang="da" hreflang="da" data-title="Python (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="Deens" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de badge-Q17437798 badge-goodarticle mw-list-item" title="goed artikel"><a href="https://de.wikipedia.org/wiki/Python_(Programmiersprache)" title="Python (Programmiersprache) – Duits" lang="de" hreflang="de" data-title="Python (Programmiersprache)" data-language-autonym="Deutsch" data-language-local-name="Duits" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/Python" title="Python – Grieks" lang="el" hreflang="el" data-title="Python" data-language-autonym="Ελληνικά" data-language-local-name="Grieks" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Engels" lang="en" hreflang="en" data-title="Python (programming language)" data-language-autonym="English" data-language-local-name="Engels" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Python_(programlingvo)" title="Python (programlingvo) – Esperanto" lang="eo" hreflang="eo" data-title="Python (programlingvo)" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Python" title="Python – Spaans" lang="es" hreflang="es" data-title="Python" data-language-autonym="Español" data-language-local-name="Spaans" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Python_(programmeerimiskeel)" title="Python (programmeerimiskeel) – Estisch" lang="et" hreflang="et" data-title="Python (programmeerimiskeel)" data-language-autonym="Eesti" data-language-local-name="Estisch" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Python_(informatika)" title="Python (informatika) – Baskisch" lang="eu" hreflang="eu" data-title="Python (informatika)" data-language-autonym="Euskara" data-language-local-name="Baskisch" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D9%BE%D8%A7%DB%8C%D8%AA%D9%88%D9%86_(%D8%B2%D8%A8%D8%A7%D9%86_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87%E2%80%8C%D9%86%D9%88%DB%8C%D8%B3%DB%8C)" title="پایتون (زبان برنامهنویسی) – Perzisch" lang="fa" hreflang="fa" data-title="پایتون (زبان برنامهنویسی)" data-language-autonym="فارسی" data-language-local-name="Perzisch" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Python_(ohjelmointikieli)" title="Python (ohjelmointikieli) – Fins" lang="fi" hreflang="fi" data-title="Python (ohjelmointikieli)" data-language-autonym="Suomi" data-language-local-name="Fins" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fj mw-list-item"><a href="https://fj.wikipedia.org/wiki/Python" title="Python – Fijisch" lang="fj" hreflang="fj" data-title="Python" data-language-autonym="Na Vosa Vakaviti" data-language-local-name="Fijisch" class="interlanguage-link-target"><span>Na Vosa Vakaviti</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Python_(langage)" title="Python (langage) – Frans" lang="fr" hreflang="fr" data-title="Python (langage)" data-language-autonym="Français" data-language-local-name="Frans" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Python" title="Python – Galicisch" lang="gl" hreflang="gl" data-title="Python" data-language-autonym="Galego" data-language-local-name="Galicisch" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%AA%E0%AA%BE%E0%AA%AF%E0%AA%A5%E0%AB%8B%E0%AA%A8(%E0%AA%AA%E0%AB%8D%E0%AA%B0%E0%AB%8B%E0%AA%97%E0%AB%8D%E0%AA%B0%E0%AA%BE%E0%AA%AE%E0%AA%BF%E0%AA%82%E0%AA%97_%E0%AA%AD%E0%AA%BE%E0%AA%B7%E0%AA%BE)" title="પાયથોન(પ્રોગ્રામિંગ ભાષા) – Gujarati" lang="gu" hreflang="gu" data-title="પાયથોન(પ્રોગ્રામિંગ ભાષા)" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/Python_programming_language" title="Python programming language – Hausa" lang="ha" hreflang="ha" data-title="Python programming language" data-language-autonym="Hausa" data-language-local-name="Hausa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A4%D7%99%D7%99%D7%AA%D7%95%D7%9F" title="פייתון – Hebreeuws" lang="he" hreflang="he" data-title="פייתון" data-language-autonym="עברית" data-language-local-name="Hebreeuws" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%AA%E0%A4%BE%E0%A4%87%E0%A4%A5%E0%A4%A8" title="पाइथन – Hindi" lang="hi" hreflang="hi" data-title="पाइथन" data-language-autonym="हिन्दी" data-language-local-name="Hindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Python_(programski_jezik)" title="Python (programski jezik) – Kroatisch" lang="hr" hreflang="hr" data-title="Python (programski jezik)" data-language-autonym="Hrvatski" data-language-local-name="Kroatisch" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Python_(programoz%C3%A1si_nyelv)" title="Python (programozási nyelv) – Hongaars" lang="hu" hreflang="hu" data-title="Python (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="Hongaars" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/Python" title="Python – Armeens" lang="hy" hreflang="hy" data-title="Python" data-language-autonym="Հայերեն" data-language-local-name="Armeens" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/Python_(linguage_de_programmation)" title="Python (linguage de programmation) – Interlingua" lang="ia" hreflang="ia" data-title="Python (linguage de programmation)" data-language-autonym="Interlingua" data-language-local-name="Interlingua" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Python_(bahasa_pemrograman)" title="Python (bahasa pemrograman) – Indonesisch" lang="id" hreflang="id" data-title="Python (bahasa pemrograman)" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesisch" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Python" title="Python – Ido" lang="io" hreflang="io" data-title="Python" data-language-autonym="Ido" data-language-local-name="Ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Python_(forritunarm%C3%A1l)" title="Python (forritunarmál) – IJslands" lang="is" hreflang="is" data-title="Python (forritunarmál)" data-language-autonym="Íslenska" data-language-local-name="IJslands" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Python" title="Python – Italiaans" lang="it" hreflang="it" data-title="Python" data-language-autonym="Italiano" data-language-local-name="Italiaans" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Python" title="Python – Japans" lang="ja" hreflang="ja" data-title="Python" data-language-autonym="日本語" data-language-local-name="Japans" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-jbo mw-list-item"><a href="https://jbo.wikipedia.org/wiki/paiton" title="paiton – Lojban" lang="jbo" hreflang="jbo" data-title="paiton" data-language-autonym="La .lojban." data-language-local-name="Lojban" class="interlanguage-link-target"><span>La .lojban.</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%9E%E1%83%90%E1%83%98%E1%83%97%E1%83%9D%E1%83%9C%E1%83%98_(%E1%83%9E%E1%83%A0%E1%83%9D%E1%83%92%E1%83%A0%E1%83%90%E1%83%9B%E1%83%98%E1%83%A0%E1%83%94%E1%83%91%E1%83%98%E1%83%A1_%E1%83%94%E1%83%9C%E1%83%90)" title="პაითონი (პროგრამირების ენა) – Georgisch" lang="ka" hreflang="ka" data-title="პაითონი (პროგრამირების ენა)" data-language-autonym="ქართული" data-language-local-name="Georgisch" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kaa mw-list-item"><a href="https://kaa.wikipedia.org/wiki/Python_(Programmalast%C4%B1r%C4%B1w_tili)" title="Python (Programmalastırıw tili) – Karakalpaks" lang="kaa" hreflang="kaa" data-title="Python (Programmalastırıw tili)" data-language-autonym="Qaraqalpaqsha" data-language-local-name="Karakalpaks" class="interlanguage-link-target"><span>Qaraqalpaqsha</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/Python" title="Python – Kazachs" lang="kk" hreflang="kk" data-title="Python" data-language-autonym="Қазақша" data-language-local-name="Kazachs" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%95%E1%9E%B6%E1%9E%99%E1%9E%90%E1%9E%BB%E1%9E%93" title="ផាយថុន – Khmer" lang="km" hreflang="km" data-title="ផាយថុន" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="Khmer" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%ED%8C%8C%EC%9D%B4%EC%8D%AC" title="파이썬 – Koreaans" lang="ko" hreflang="ko" data-title="파이썬" data-language-autonym="한국어" data-language-local-name="Koreaans" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ku mw-list-item"><a href="https://ku.wikipedia.org/wiki/Python_(ziman%C3%AA_bernamesaziy%C3%AA)" title="Python (zimanê bernamesaziyê) – Koerdisch" lang="ku" hreflang="ku" data-title="Python (zimanê bernamesaziyê)" data-language-autonym="Kurdî" data-language-local-name="Koerdisch" class="interlanguage-link-target"><span>Kurdî</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/Python" title="Python – Kirgizisch" lang="ky" hreflang="ky" data-title="Python" data-language-autonym="Кыргызча" data-language-local-name="Kirgizisch" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Python_(lingua_programmandi)" title="Python (lingua programmandi) – Latijn" lang="la" hreflang="la" data-title="Python (lingua programmandi)" data-language-autonym="Latina" data-language-local-name="Latijn" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lmo mw-list-item"><a href="https://lmo.wikipedia.org/wiki/Python" title="Python – Lombardisch" lang="lmo" hreflang="lmo" data-title="Python" data-language-autonym="Lombard" data-language-local-name="Lombardisch" class="interlanguage-link-target"><span>Lombard</span></a></li><li class="interlanguage-link interwiki-lo mw-list-item"><a href="https://lo.wikipedia.org/wiki/Python_(%E0%BA%9E%E0%BA%B2%E0%BA%AA%E0%BA%B2%E0%BA%81%E0%BA%B2%E0%BA%99%E0%BA%82%E0%BA%BD%E0%BA%99%E0%BB%82%E0%BA%9B%E0%BA%BC%E0%BB%81%E0%BA%81%E0%BA%BC%E0%BA%A1)" title="Python (ພາສາການຂຽນໂປຼແກຼມ) – Laotiaans" lang="lo" hreflang="lo" data-title="Python (ພາສາການຂຽນໂປຼແກຼມ)" data-language-autonym="ລາວ" data-language-local-name="Laotiaans" class="interlanguage-link-target"><span>ລາວ</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/Python" title="Python – Litouws" lang="lt" hreflang="lt" data-title="Python" data-language-autonym="Lietuvių" data-language-local-name="Litouws" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/Python_(programm%C4%93%C5%A1anas_valoda)" title="Python (programmēšanas valoda) – Lets" lang="lv" hreflang="lv" data-title="Python (programmēšanas valoda)" data-language-autonym="Latviešu" data-language-local-name="Lets" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/%D0%9F%D0%B0%D1%98%D1%82%D0%BE%D0%BD_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%81%D0%BA%D0%B8_%D1%98%D0%B0%D0%B7%D0%B8%D0%BA)" title="Пајтон (програмски јазик) – Macedonisch" lang="mk" hreflang="mk" data-title="Пајтон (програмски јазик)" data-language-autonym="Македонски" data-language-local-name="Macedonisch" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%AA%E0%B5%88%E0%B4%A4%E0%B5%8D%E0%B4%A4%E0%B5%BA_(%E0%B4%AA%E0%B5%8D%E0%B4%B0%E0%B5%8B%E0%B4%97%E0%B5%8D%E0%B4%B0%E0%B4%BE%E0%B4%AE%E0%B4%BF%E0%B4%99%E0%B5%8D%E0%B4%99%E0%B5%8D_%E0%B4%AD%E0%B4%BE%E0%B4%B7)" title="പൈത്തൺ (പ്രോഗ്രാമിങ്ങ് ഭാഷ) – Malayalam" lang="ml" hreflang="ml" data-title="പൈത്തൺ (പ്രോഗ്രാമിങ്ങ് ഭാഷ)" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/Python" title="Python – Mongools" lang="mn" hreflang="mn" data-title="Python" data-language-autonym="Монгол" data-language-local-name="Mongools" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%AA%E0%A4%BE%E0%A4%AF%E0%A4%A5%E0%A5%89%E0%A4%A8" title="पायथॉन – Marathi" lang="mr" hreflang="mr" data-title="पायथॉन" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Python" title="Python – Maleis" lang="ms" hreflang="ms" data-title="Python" data-language-autonym="Bahasa Melayu" data-language-local-name="Maleis" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-my mw-list-item"><a href="https://my.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Birmaans" lang="my" hreflang="my" data-title="Python (programming language)" data-language-autonym="မြန်မာဘာသာ" data-language-local-name="Birmaans" class="interlanguage-link-target"><span>မြန်မာဘာသာ</span></a></li><li class="interlanguage-link interwiki-nds mw-list-item"><a href="https://nds.wikipedia.org/wiki/Python_(Programmeerspraak)" title="Python (Programmeerspraak) – Nedersaksisch" lang="nds" hreflang="nds" data-title="Python (Programmeerspraak)" data-language-autonym="Plattdüütsch" data-language-local-name="Nedersaksisch" class="interlanguage-link-target"><span>Plattdüütsch</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%AA%E0%A4%BE%E0%A4%87%E0%A4%A5%E0%A4%A8_(%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A5%8B%E0%A4%97%E0%A4%BE%E0%A4%AE%E0%A4%BF%E0%A4%99_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="पाइथन (प्रोगामिङ भाषा) – Nepalees" lang="ne" hreflang="ne" data-title="पाइथन (प्रोगामिङ भाषा)" data-language-autonym="नेपाली" data-language-local-name="Nepalees" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Python" title="Python – Noors - Nynorsk" lang="nn" hreflang="nn" data-title="Python" data-language-autonym="Norsk nynorsk" data-language-local-name="Noors - Nynorsk" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Python" title="Python – Noors - Bokmål" lang="nb" hreflang="nb" data-title="Python" data-language-autonym="Norsk bokmål" data-language-local-name="Noors - Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-nqo mw-list-item"><a href="https://nqo.wikipedia.org/wiki/%DF%94%DF%8A%DF%8C%DF%95%DF%90%DF%B2%DF%AC" title="ߔߊߌߕߐ߲߬ – N’Ko" lang="nqo" hreflang="nqo" data-title="ߔߊߌߕߐ߲߬" data-language-autonym="ߒߞߏ" data-language-local-name="N’Ko" class="interlanguage-link-target"><span>ߒߞߏ</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%AA%E0%AC%BE%E0%AC%87%E0%AC%A5%E0%AC%A8%E0%AD%8D_(%E0%AC%AA%E0%AD%8D%E0%AC%B0%E0%AD%8B%E0%AC%97%E0%AD%8D%E0%AC%B0%E0%AC%BE%E0%AC%AE%E0%AC%BF%E0%AC%82_%E0%AC%AD%E0%AC%BE%E0%AC%B7%E0%AC%BE)" title="ପାଇଥନ୍ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା) – Odia" lang="or" hreflang="or" data-title="ପାଇଥନ୍ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="Odia" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%AA%E0%A8%BE%E0%A8%88%E0%A8%A5%E0%A8%A8_(%E0%A8%AA%E0%A9%8D%E0%A8%B0%E0%A9%8B%E0%A8%97%E0%A8%B0%E0%A8%BE%E0%A8%AE%E0%A8%BF%E0%A9%B0%E0%A8%97_%E0%A8%AD%E0%A8%BE%E0%A8%B8%E0%A8%BC%E0%A8%BE)" title="ਪਾਈਥਨ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ) – Punjabi" lang="pa" hreflang="pa" data-title="ਪਾਈਥਨ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Python" title="Python – Pools" lang="pl" hreflang="pl" data-title="Python" data-language-autonym="Polski" data-language-local-name="Pools" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D9%BE%D8%A7%D8%A6%DB%8C%D8%AA%DA%BE%D9%86_(%DA%A9%D9%85%D9%BE%DB%8C%D9%88%D9%B9%D8%B1_%D8%A8%D9%88%D9%84%DB%8C)" title="پائیتھن (کمپیوٹر بولی) – Western Punjabi" lang="pnb" hreflang="pnb" data-title="پائیتھن (کمپیوٹر بولی)" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Python" title="Python – Portugees" lang="pt" hreflang="pt" data-title="Python" data-language-autonym="Português" data-language-local-name="Portugees" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-qu mw-list-item"><a href="https://qu.wikipedia.org/wiki/Python" title="Python – Quechua" lang="qu" hreflang="qu" data-title="Python" data-language-autonym="Runa Simi" data-language-local-name="Quechua" class="interlanguage-link-target"><span>Runa Simi</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Python" title="Python – Roemeens" lang="ro" hreflang="ro" data-title="Python" data-language-autonym="Română" data-language-local-name="Roemeens" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/Python" title="Python – Russisch" lang="ru" hreflang="ru" data-title="Python" data-language-autonym="Русский" data-language-local-name="Russisch" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sah mw-list-item"><a href="https://sah.wikipedia.org/wiki/Python" title="Python – Jakoets" lang="sah" hreflang="sah" data-title="Python" data-language-autonym="Саха тыла" data-language-local-name="Jakoets" class="interlanguage-link-target"><span>Саха тыла</span></a></li><li class="interlanguage-link interwiki-sat mw-list-item"><a href="https://sat.wikipedia.org/wiki/%E1%B1%AF%E1%B1%9F%E1%B1%AD%E1%B1%9B%E1%B1%B7%E1%B1%9A%E1%B1%B1_(%E1%B1%AF%E1%B1%A8%E1%B1%B3%E1%B1%9C%E1%B1%BD%E1%B1%A8%E1%B1%9F%E1%B1%A2%E1%B1%A4%E1%B1%9D_%E1%B1%AF%E1%B1%9F%E1%B1%B9%E1%B1%A8%E1%B1%A5%E1%B1%A4)" title="ᱯᱟᱭᱛᱷᱚᱱ (ᱯᱨᱳᱜᱽᱨᱟᱢᱤᱝ ᱯᱟᱹᱨᱥᱤ) – Santali" lang="sat" hreflang="sat" data-title="ᱯᱟᱭᱛᱷᱚᱱ (ᱯᱨᱳᱜᱽᱨᱟᱢᱤᱝ ᱯᱟᱹᱨᱥᱤ)" data-language-autonym="ᱥᱟᱱᱛᱟᱲᱤ" data-language-local-name="Santali" class="interlanguage-link-target"><span>ᱥᱟᱱᱛᱟᱲᱤ</span></a></li><li class="interlanguage-link interwiki-sco mw-list-item"><a href="https://sco.wikipedia.org/wiki/Python_(programmin_leid)" title="Python (programmin leid) – Schots" lang="sco" hreflang="sco" data-title="Python (programmin leid)" data-language-autonym="Scots" data-language-local-name="Schots" class="interlanguage-link-target"><span>Scots</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/Python_programski_jezik" title="Python programski jezik – Servo-Kroatisch" lang="sh" hreflang="sh" data-title="Python programski jezik" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="Servo-Kroatisch" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-shn mw-list-item"><a href="https://shn.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Shan" lang="shn" hreflang="shn" data-title="Python (programming language)" data-language-autonym="ၽႃႇသႃႇတႆး " data-language-local-name="Shan" class="interlanguage-link-target"><span>ၽႃႇသႃႇတႆး </span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B6%B4%E0%B6%BA%E0%B7%92%E0%B6%AD%E0%B6%B1%E0%B7%8A" title="පයිතන් – Singalees" lang="si" hreflang="si" data-title="පයිතන්" data-language-autonym="සිංහල" data-language-local-name="Singalees" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Simple English" lang="en-simple" hreflang="en-simple" data-title="Python (programming language)" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/Python_(programovac%C3%AD_jazyk)" title="Python (programovací jazyk) – Slowaaks" lang="sk" hreflang="sk" data-title="Python (programovací jazyk)" data-language-autonym="Slovenčina" data-language-local-name="Slowaaks" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Python_(programski_jezik)" title="Python (programski jezik) – Sloveens" lang="sl" hreflang="sl" data-title="Python (programski jezik)" data-language-autonym="Slovenščina" data-language-local-name="Sloveens" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/Python" title="Python – Albanees" lang="sq" hreflang="sq" data-title="Python" data-language-autonym="Shqip" data-language-local-name="Albanees" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/Python_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%81%D0%BA%D0%B8_%D1%98%D0%B5%D0%B7%D0%B8%D0%BA)" title="Python (програмски језик) – Servisch" lang="sr" hreflang="sr" data-title="Python (програмски језик)" data-language-autonym="Српски / srpski" data-language-local-name="Servisch" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Python_(programspr%C3%A5k)" title="Python (programspråk) – Zweeds" lang="sv" hreflang="sv" data-title="Python (programspråk)" data-language-autonym="Svenska" data-language-local-name="Zweeds" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/Python_(Lugha_ya_programu)" title="Python (Lugha ya programu) – Swahili" lang="sw" hreflang="sw" data-title="Python (Lugha ya programu)" data-language-autonym="Kiswahili" data-language-local-name="Swahili" class="interlanguage-link-target"><span>Kiswahili</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%AA%E0%AF%88%E0%AE%A4%E0%AF%8D%E0%AE%A4%E0%AE%BE%E0%AE%A9%E0%AF%8D" title="பைத்தான் – Tamil" lang="ta" hreflang="ta" data-title="பைத்தான்" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%AA%E0%B1%88%E0%B0%A5%E0%B0%BE%E0%B0%A8%E0%B1%8D_(%E0%B0%95%E0%B0%82%E0%B0%AA%E0%B1%8D%E0%B0%AF%E0%B1%82%E0%B0%9F%E0%B0%B0%E0%B1%8D_%E0%B0%AD%E0%B0%BE%E0%B0%B7)" title="పైథాన్ (కంప్యూటర్ భాష) – Telugu" lang="te" hreflang="te" data-title="పైథాన్ (కంప్యూటర్ భాష)" data-language-autonym="తెలుగు" data-language-local-name="Telugu" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/Python" title="Python – Tadzjieks" lang="tg" hreflang="tg" data-title="Python" data-language-autonym="Тоҷикӣ" data-language-local-name="Tadzjieks" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%84%E0%B8%9E%E0%B8%97%E0%B8%AD%E0%B8%99" title="ภาษาไพทอน – Thai" lang="th" hreflang="th" data-title="ภาษาไพทอน" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tl mw-list-item"><a href="https://tl.wikipedia.org/wiki/Python_(wikang_pamprograma)" title="Python (wikang pamprograma) – Tagalog" lang="tl" hreflang="tl" data-title="Python (wikang pamprograma)" data-language-autonym="Tagalog" data-language-local-name="Tagalog" class="interlanguage-link-target"><span>Tagalog</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Python" title="Python – Turks" lang="tr" hreflang="tr" data-title="Python" data-language-autonym="Türkçe" data-language-local-name="Turks" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-tt mw-list-item"><a href="https://tt.wikipedia.org/wiki/Python" title="Python – Tataars" lang="tt" hreflang="tt" data-title="Python" data-language-autonym="Татарча / tatarça" data-language-local-name="Tataars" class="interlanguage-link-target"><span>Татарча / tatarça</span></a></li><li class="interlanguage-link interwiki-ug mw-list-item"><a href="https://ug.wikipedia.org/wiki/%D9%BE%D8%A7%D9%8A%D8%B3%D9%88%D9%86" title="پايسون – Oeigoers" lang="ug" hreflang="ug" data-title="پايسون" data-language-autonym="ئۇيغۇرچە / Uyghurche" data-language-local-name="Oeigoers" class="interlanguage-link-target"><span>ئۇيغۇرچە / Uyghurche</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/Python" title="Python – Oekraïens" lang="uk" hreflang="uk" data-title="Python" data-language-autonym="Українська" data-language-local-name="Oekraïens" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D9%BE%D8%A7%D8%A6%DB%8C%D8%AA%DA%BE%D9%86_(%D9%BE%D8%B1%D9%88%DA%AF%D8%B1%D8%A7%D9%85%D9%86%DA%AF_%D8%B2%D8%A8%D8%A7%D9%86)" title="پائیتھن (پروگرامنگ زبان) – Urdu" lang="ur" hreflang="ur" data-title="پائیتھن (پروگرامنگ زبان)" data-language-autonym="اردو" data-language-local-name="Urdu" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/Python" title="Python – Oezbeeks" lang="uz" hreflang="uz" data-title="Python" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="Oezbeeks" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Python_(ng%C3%B4n_ng%E1%BB%AF_l%E1%BA%ADp_tr%C3%ACnh)" title="Python (ngôn ngữ lập trình) – Vietnamees" lang="vi" hreflang="vi" data-title="Python (ngôn ngữ lập trình)" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamees" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wa mw-list-item"><a href="https://wa.wikipedia.org/wiki/Python_(lingaedje_%C3%A9ndjolike)" title="Python (lingaedje éndjolike) – Waals" lang="wa" hreflang="wa" data-title="Python (lingaedje éndjolike)" data-language-autonym="Walon" data-language-local-name="Waals" class="interlanguage-link-target"><span>Walon</span></a></li><li class="interlanguage-link interwiki-war mw-list-item"><a href="https://war.wikipedia.org/wiki/Python_(programming_language)" title="Python (programming language) – Waray" lang="war" hreflang="war" data-title="Python (programming language)" data-language-autonym="Winaray" data-language-local-name="Waray" class="interlanguage-link-target"><span>Winaray</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/Python" title="Python – Wuyu" lang="wuu" hreflang="wuu" data-title="Python" data-language-autonym="吴语" data-language-local-name="Wuyu" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Python" title="Python – Chinees" lang="zh" hreflang="zh" data-title="Python" data-language-autonym="中文" data-language-local-name="Chinees" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-classical mw-list-item"><a href="https://zh-classical.wikipedia.org/wiki/%E8%9F%92%E8%AA%9E" title="蟒語 – Klassiek Chinees" lang="lzh" hreflang="lzh" data-title="蟒語" data-language-autonym="文言" data-language-local-name="Klassiek Chinees" class="interlanguage-link-target"><span>文言</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/Python" title="Python – Minnanyu" lang="nan" hreflang="nan" data-title="Python" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnanyu" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Python" title="Python – Kantonees" lang="yue" hreflang="yue" data-title="Python" data-language-autonym="粵語" data-language-local-name="Kantonees" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q28865#sitelinks-wikipedia" title="Taalkoppelingen bewerken" class="wbc-editpage">Koppelingen bewerken</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Naamruimten"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Python_(programmeertaal)" title="Inhoudspagina bekijken [c]" accesskey="c"><span>Artikel</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Overleg:Python_(programmeertaal)" rel="discussion" title="Overleg over deze pagina [t]" accesskey="t"><span>Overleg</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Taalvariant wijzigen" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Nederlands</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Weergaven"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Python_(programmeertaal)"><span>Lezen</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit" title="Deze pagina bewerken [v]" accesskey="v"><span>Bewerken</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&action=edit" title="Broncode van deze pagina bewerken [e]" accesskey="e"><span>Brontekst bewerken</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&action=history" title="Eerdere versies van deze pagina [h]" accesskey="h"><span>Geschiedenis weergeven</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Paginahulpmiddelen"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Hulpmiddelen" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Hulpmiddelen</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Hulpmiddelen</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">verbergen</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Meer opties" > <div class="vector-menu-heading"> Handelingen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Python_(programmeertaal)"><span>Lezen</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit" title="Deze pagina bewerken [v]" accesskey="v"><span>Bewerken</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&action=edit" title="Broncode van deze pagina bewerken [e]" accesskey="e"><span>Brontekst bewerken</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&action=history"><span>Geschiedenis weergeven</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Algemeen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Speciaal:VerwijzingenNaarHier/Python_(programmeertaal)" title="Lijst met alle pagina's die naar deze pagina verwijzen [j]" accesskey="j"><span>Links naar deze pagina</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Speciaal:RecenteWijzigingenGelinkt/Python_(programmeertaal)" rel="nofollow" title="Recente wijzigingen in pagina's waar deze pagina naar verwijst [k]" accesskey="k"><span>Gerelateerde wijzigingen</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=nl" title="Bestanden uploaden [u]" accesskey="u"><span>Bestand uploaden</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Speciaal:SpecialePaginas" title="Lijst met alle speciale pagina's [q]" accesskey="q"><span>Speciale pagina's</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&oldid=68104427" title="Permanente koppeling naar deze versie van deze pagina"><span>Permanente koppeling</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&action=info" title="Meer informatie over deze pagina"><span>Paginagegevens</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Speciaal:Citeren&page=Python_%28programmeertaal%29&id=68104427&wpFormIdentifier=titleform" title="Informatie over hoe u deze pagina kunt citeren"><span>Deze pagina citeren</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Speciaal:UrlShortener&url=https%3A%2F%2Fnl.wikipedia.org%2Fwiki%2FPython_%28programmeertaal%29"><span>Verkorte URL verkrijgen</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Speciaal:QrCode&url=https%3A%2F%2Fnl.wikipedia.org%2Fwiki%2FPython_%28programmeertaal%29"><span>QR-code downloaden</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Afdrukken/exporteren </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Speciaal:Boek&bookcmd=book_creator&referer=Python+%28programmeertaal%29"><span>Boek aanmaken</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Speciaal:DownloadAsPdf&page=Python_%28programmeertaal%29&action=show-download-screen"><span>Downloaden als PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Python_(programmeertaal)&printable=yes" title="Printvriendelijke versie van deze pagina [p]" accesskey="p"><span>Afdrukversie</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In andere projecten </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Python_(programming_language)" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Python" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://nl.wikibooks.org/wiki/Programmeren_in_Python" hreflang="nl"><span>Wikibooks</span></a></li><li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://www.wikifunctions.org/wiki/Z610" hreflang="en"><span>Wikifuncties</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q28865" title="Koppeling naar item in verbonden gegevensrepository [g]" accesskey="g"><span>Wikidata-item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Paginahulpmiddelen"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Uiterlijk"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Uiterlijk</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">verbergen</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Uit Wikipedia, de vrije encyclopedie</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="nl" dir="ltr"><table class="infobox" cellpadding="1" cellspacing="1"> <tbody><tr> <th class="infobox-kop notheme" style="background-color:beige; color:inherit; text-align:center; font-size:120%;" colspan="3">Python </th></tr> <tr> <td style="text-align:center; padding:0;" colspan="3"><span typeof="mw:File"><a href="/wiki/Bestand:Python-logo-notext.svg" class="mw-file-description"><img alt="Python" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/125px-Python-logo-notext.svg.png" decoding="async" width="125" height="137" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/188px-Python-logo-notext.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/250px-Python-logo-notext.svg.png 2x" data-file-width="115" data-file-height="126" /></a></span> </td></tr> <tr> <th><a href="/wiki/Programmeerparadigma" title="Programmeerparadigma">Paradigma</a> </th> <td colspan="2">functioneel programmeren, objectgeoriënteerd programmeren, imperatief programmeren </td></tr> <tr> <th>Verschenen </th> <td colspan="2">20 februari 1991 <small>(33 jaar)</small> </td></tr> <tr> <th><span class="nowrap">Ontworpen door</span> </th> <td colspan="2"><a href="/wiki/Guido_van_Rossum" title="Guido van Rossum">Guido van Rossum</a> </td></tr> <tr> <th><span class="nowrap">Ontwikkeld door</span> </th> <td colspan="2">Python Software Foundation </td></tr> <tr> <th>Huidige versie </th> <td colspan="2">3.13.0<sup id="cite_ref-wikidata-9fd6de1cf76d42f947dac2058c4a4276e73cd716-v3_1-0" class="reference"><a href="#cite_note-wikidata-9fd6de1cf76d42f947dac2058c4a4276e73cd716-v3-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> <span class="mw-valign-text-top" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q28865?uselang=nl#P348" title="Bewerken op Wikidata"><img alt="Bewerken op Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span><br /><small>(7 oktober 2024)</small> </td></tr> <tr> <th><a href="/wiki/Typesysteem" title="Typesysteem">Typesysteem</a> </th> <td colspan="2">Duck-typing, dynamisch typesysteem, graduele typering </td></tr> <tr> <th>Dialecten </th> <td colspan="2">Stackless Python </td></tr> <tr> <th><span class="nowrap">Beïnvloed door</span> </th> <td colspan="2">Algol 68, ABC, Modula-3, C, C++, Perl, Java, Lisp, Haskell, APL, CLU, Dylan, Icon, Standard ML </td></tr> <tr> <th>Invloed op </th> <td colspan="2"><a href="/w/index.php?title=Boo_(programmeertaal)&action=edit&redlink=1" class="new" title="Boo (programmeertaal) (de pagina bestaat niet)">Boo</a>, <a href="/wiki/Groovy" title="Groovy">Groovy</a>, <a href="/wiki/Ruby_(programmeertaal)" title="Ruby (programmeertaal)">Ruby</a>, <a href="/w/index.php?title=Cobra_(programmeertaal)&action=edit&redlink=1" class="new" title="Cobra (programmeertaal) (de pagina bestaat niet)">Cobra</a> </td></tr> <tr> <th><a href="/wiki/Besturingssysteem" title="Besturingssysteem">Besturingssysteem</a> </th> <td colspan="2"><a href="/wiki/Multiplatform" class="mw-redirect" title="Multiplatform">Multiplatform</a> </td></tr> <tr> <th><a href="/wiki/Softwarelicentie" title="Softwarelicentie">Licentie</a> </th> <td colspan="2">Python Software Foundation License </td></tr> <tr> <th><a href="/wiki/Website" title="Website">Website</a> </th> <td colspan="2"><style data-mw-deduplicate="TemplateStyles:r67679320">.mw-parser-output .taalaanduiding{font-family:sans-serif;font-size:85%;cursor:help;color:var(--color-subtle,#555)}.mw-parser-output .taalaanduiding span{border-bottom:1px dotted var(--color-subtle,#555)}</style><span class="taalaanduiding" title="Taal: Engels">(<span>en</span>) </span><a rel="nofollow" class="external text" href="https://www.python.org/">Officiële website</a> </td></tr> <tr> <td class="infobox-kop notheme center" style="background-color:beige; color:inherit;" colspan="3"> <table cellspacing="0" cellpadding="0"> <tbody><tr> <td style="vertical-align:middle;"><b>Portaal</b>  <span class="noviewer" typeof="mw:File"><a href="/wiki/Bestand:Portal.svg" class="mw-file-description" title="Portaalicoon"><img alt="Portaalicoon" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/22px-Portal.svg.png" decoding="async" width="22" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/33px-Portal.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/44px-Portal.svg.png 2x" data-file-width="36" data-file-height="32" /></a></span>   </td> <td class="ta-left"><b><a href="/wiki/Portaal:Informatica" title="Portaal:Informatica">Informatica</a> <br /><a href="/wiki/Portaal:Vrije_software" title="Portaal:Vrije software">Vrije software</a> </b> </td></tr></tbody></table> </td></tr> </tbody></table> <figure class="mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/Bestand:Python_add5_syntax.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Python_add5_syntax.svg/240px-Python_add5_syntax.svg.png" decoding="async" width="240" height="179" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Python_add5_syntax.svg/360px-Python_add5_syntax.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Python_add5_syntax.svg/480px-Python_add5_syntax.svg.png 2x" data-file-width="602" data-file-height="449" /></a><figcaption>Een stuk <a href="/wiki/Broncode" title="Broncode">broncode</a> in Python met <a href="/wiki/Syntaxiskleuring" title="Syntaxiskleuring">syntaxiskleuring</a>.</figcaption></figure> <p><b>Python</b> is een <a href="/wiki/Programmeertaal" title="Programmeertaal">programmeertaal</a> die begin <a href="/wiki/1990-1999" title="1990-1999">jaren 90</a> ontworpen en ontwikkeld werd door <a href="/wiki/Guido_van_Rossum" title="Guido van Rossum">Guido van Rossum</a>, destijds verbonden aan het <a href="/wiki/Centrum_voor_Wiskunde_en_Informatica" class="mw-redirect" title="Centrum voor Wiskunde en Informatica">Centrum voor Wiskunde en Informatica</a> (daarvoor <a href="/wiki/Mathematisch_Centrum" class="mw-redirect" title="Mathematisch Centrum">Mathematisch Centrum</a>) in Amsterdam.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> De taal is mede gebaseerd op inzichten van professor <a href="/wiki/Lambert_Meertens" title="Lambert Meertens">Lambert Meertens</a>, die de <a href="/wiki/ABC_(programmeertaal)" title="ABC (programmeertaal)">programmeertaal ABC</a> ontworpen had, bedoeld als alternatief voor <a href="/wiki/BASIC" title="BASIC">BASIC</a>, maar dan met geavanceerde datastructuren. Inmiddels wordt de taal doorontwikkeld door een enthousiaste groep, tot juli 2018 geleid door Van Rossum.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> Deze groep wordt ondersteund door vrijwilligers op het internet. De <a href="/wiki/Python_Software_Foundation" title="Python Software Foundation">Python Software Foundation</a> leidt de ontwikkeling van Python. Python is <a href="/wiki/Vrije_software" title="Vrije software">vrije software</a>. </p><p>Python dankt zijn naam aan het favoriete televisieprogramma van Guido van Rossum, <a href="/wiki/Monty_Python%27s_Flying_Circus" title="Monty Python's Flying Circus">Monty Python's Flying Circus</a>.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Kenmerken">Kenmerken</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=1" title="Bewerk dit kopje: Kenmerken" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=1" title="De broncode bewerken van de sectie: Kenmerken"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/Bestand:Python%27s_IDLE.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Python%27s_IDLE.png/260px-Python%27s_IDLE.png" decoding="async" width="260" height="212" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Python%27s_IDLE.png/390px-Python%27s_IDLE.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Python%27s_IDLE.png/520px-Python%27s_IDLE.png 2x" data-file-width="908" data-file-height="742" /></a><figcaption><a href="/w/index.php?title=IDLE&action=edit&redlink=1" class="new" title="IDLE (de pagina bestaat niet)">IDLE</a>, een van de beschikbare <a href="/wiki/Integrated_development_environment" title="Integrated development environment">IDE</a>'s voor Python.</figcaption></figure> <div class="mw-heading mw-heading3"><h3 id="Syntaxis">Syntaxis</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=2" title="Bewerk dit kopje: Syntaxis" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=2" title="De broncode bewerken van de sectie: Syntaxis"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python is ontwikkeld met het oog op leesbare code. Dit uit zich op verschillende manieren. Zo wordt structuur aangebracht door indentatie (regelinspringing) in plaats van bijvoorbeeld accolades zoals in <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a>-achtige talen. Statements (vergelijkbaar met zinnen uit gewone taal) worden simpelweg beëindigd door het eind van de regel. Variabelen krijgen geen typedeclaratie. Python maakt gebruik van <a href="/wiki/Duck-typing" title="Duck-typing">duck-typing</a>. </p> <div class="mw-heading mw-heading4"><h4 id="Inspringing">Inspringing</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=3" title="Bewerk dit kopje: Inspringing" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=3" title="De broncode bewerken van de sectie: Inspringing"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python gebruikt als een van weinige talen de mate van inspringing van de regel, ook wel <a href="/w/index.php?title=Indentatie&action=edit&redlink=1" class="new" title="Indentatie (de pagina bestaat niet)">indentatie</a> genoemd, als indicatie van gelaagdheid van de verschillende onderdelen van het programma. Dit is iets wat <a href="/w/index.php?title=Jaap_van_Ganswijk&action=edit&redlink=1" class="new" title="Jaap van Ganswijk (de pagina bestaat niet)">Jaap van Ganswijk</a>, de ontwerper van <a href="/w/index.php?title=JAM_Programming_Language&action=edit&redlink=1" class="new" title="JAM Programming Language (de pagina bestaat niet)">JPL</a> en <a href="/w/index.php?title=UHL&action=edit&redlink=1" class="new" title="UHL (de pagina bestaat niet)">UHL</a> al sinds het begin van de jaren tachtig voorstaat, maar dat ook anderen wel geopperd hebben. </p><p>Andere talen verschillen hierin door het gebruik van haakjes, die dan bestaan uit de woorden BEGIN en END (bij <a href="/wiki/Pascal_(programmeertaal)" title="Pascal (programmeertaal)">Pascal</a>, <a href="/wiki/Algol_(programmeertaal)" title="Algol (programmeertaal)">Algol</a> en <a href="/wiki/PL/1" title="PL/1">PL/1</a>) of accolades (bij <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a>, <a href="/wiki/C%2B%2B" title="C++">C++</a> en <a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a>) om een blokstructuur aan te duiden. In de praktijk zal een programmeur ook bij deze talen de regels inspringen om het programma leesbaarder te maken. </p><p>Bij Python wordt de blokstructuur uitsluitend door inspringing bepaald. Door deze inspringing en een aantal andere elementen kan de structuur van de taal worden vergeleken met de structuur van de <a href="/wiki/Pseudocode" title="Pseudocode">pseudoprogrammeertaal</a> die in veel gevallen wordt gebruikt in de literatuur om <a href="/wiki/Algoritme" title="Algoritme">algoritmen</a> uit te leggen. </p> <div class="mw-heading mw-heading4"><h4 id="Duck-typing">Duck-typing</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=4" title="Bewerk dit kopje: Duck-typing" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=4" title="De broncode bewerken van de sectie: Duck-typing"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/Bestand:Python_3._The_standard_type_hierarchy.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/10/Python_3._The_standard_type_hierarchy.png/260px-Python_3._The_standard_type_hierarchy.png" decoding="async" width="260" height="368" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/10/Python_3._The_standard_type_hierarchy.png/390px-Python_3._The_standard_type_hierarchy.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/10/Python_3._The_standard_type_hierarchy.png/520px-Python_3._The_standard_type_hierarchy.png 2x" data-file-width="794" data-file-height="1123" /></a><figcaption></figcaption></figure> <p>Python implementeert het zogenaamde <a href="/wiki/Duck-typing" title="Duck-typing">duck-typing</a>. Dit houdt in dat het <a href="/wiki/Datatype" title="Datatype">type</a> van een <a href="/wiki/Variabele_(informatica)" title="Variabele (informatica)">variabele</a> en het type van een <a href="/wiki/Argument_(wiskunde)" title="Argument (wiskunde)">argument</a> van bijvoorbeeld een <a href="/wiki/Subprogramma" title="Subprogramma">functie</a> niet gedefinieerd hoeft te worden. Bij compilatie vindt (dus) ook geen typecontrole plaats. In runtime wordt slechts gecontroleerd of de <a href="/wiki/Methode_(objectori%C3%ABntatie)" title="Methode (objectoriëntatie)">methoden</a> die worden gebruikt voor het betreffende object, gedefinieerd zijn. Als dat niet zo is, volgt een foutmelding. </p> <div class="mw-heading mw-heading4"><h4 id="EAFP">EAFP</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=5" title="Bewerk dit kopje: EAFP" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=5" title="De broncode bewerken van de sectie: EAFP"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Een veel voorkomende wijze van programmeren in Python is het zogenaamde <a href="/w/index.php?title=EAFP&action=edit&redlink=1" class="new" title="EAFP (de pagina bestaat niet)">EAFP</a>-systeem (Easier to Ask for Forgiveness than Permission, naar een uitspraak van <a href="/wiki/Grace_Hopper" title="Grace Hopper">Grace Hopper</a>). Hierbij wordt een functie of methode gestart zonder eerst te controleren of deze wel goed werkt, en vervolgens een foutmelding gegeven en afgevangen als dat niet het geval is. In de meeste andere programmeertalen is dit ofwel onmogelijk, of het wordt als slechte programmeerstijl beschouwd. Die gebruiken wat in Python <a href="/w/index.php?title=LBYL&action=edit&redlink=1" class="new" title="LBYL (de pagina bestaat niet)">LBYL</a>-programmeerstijl (Look Before You Leap) heet: eerst de argumenten van een functie bekijken om te zien of de functie goed gaat, en slechts verdergaan als dat het geval is. </p> <div class="mw-heading mw-heading3"><h3 id="Uitvoering">Uitvoering</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=6" title="Bewerk dit kopje: Uitvoering" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=6" title="De broncode bewerken van de sectie: Uitvoering"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Een Python-programma wordt geschreven in een of meer tekstbestanden met de extensie .py. Om een Python-programma uit te voeren dient men, in het geval van CPython, de Python-interpreter aan te roepen, gevolgd door de naam van het bestand, waarin het begin van het programma wordt gecodeerd. </p> <div class="mw-heading mw-heading4"><h4 id="Interpreter">Interpreter</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=7" title="Bewerk dit kopje: Interpreter" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=7" title="De broncode bewerken van de sectie: Interpreter"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De CPython-interpreter zet de Python-programmacode niet meteen om in <a href="/wiki/Machinetaal" title="Machinetaal">machine-instructies</a>, maar compileert naar een tussenvorm, <a href="/wiki/Bytecode" title="Bytecode">bytecode</a> genoemd. Deze code wordt opgeslagen in de vorm van een .pyc-bestand (met de c van <i>compiled</i>, gecompileerd). De bytecode is onafhankelijk van het besturingssysteem – ze kan verhuisd worden naar een ander besturingssysteem. De volgende stap is het uitvoeren van de bytecode door de Python-virtual-machine. Deze zet de bytecode om in machinetaal (instructies voor de processor). De eerste stap is alleen nodig als de interpreter geen up-to-date .pyc-compilatie vindt. De tussenstap vindt plaats omdat bytecode geoptimaliseerd is om sneller te worden omgezet in machine-instructies. Daarnaast zorgt de virtual machine voor de <a href="/wiki/Garbage_collection" title="Garbage collection">garbage collection</a>. </p><p>Omdat Python een zogenaamde <a href="/wiki/Interpreter" title="Interpreter">interpreter</a> is, zijn programma's geschreven in Python langzamer dan programma's geschreven in een taal met een <a href="/wiki/Compiler" title="Compiler">compiler</a>, zoals C. Pythonprogramma's zijn ook langzamer door de garbage collection. </p> <div class="mw-heading mw-heading4"><h4 id="Garbage_collection">Garbage collection</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=8" title="Bewerk dit kopje: Garbage collection" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=8" title="De broncode bewerken van de sectie: Garbage collection"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Net als in veel andere moderne <a href="/wiki/Scripttaal" title="Scripttaal">scripttalen</a> wordt in Python geheugenruimte automatisch gereserveerd voor nieuwe variabelen of variabelen die groeien, en weer vrijgegeven als er geen referenties meer zijn aan die variabelen (<i><a href="/wiki/Garbage_collection" title="Garbage collection">garbage collection</a></i>). Op deze manier wordt de programmeur een hoop werk bespaard dat hij of zij in sommige talen (zoals C en C++) wel moet doen. </p> <div class="mw-heading mw-heading4"><h4 id="Standalone_executables">Standalone executables</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=9" title="Bewerk dit kopje: Standalone executables" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=9" title="De broncode bewerken van de sectie: Standalone executables"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Het is ook mogelijk Python te gebruiken zonder de Python-interpreter en -bibliotheken te installeren. Een voorbeeld van een tool hiervoor is <a href="/wiki/Py2exe" title="Py2exe">Py2exe</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Bibliotheken">Bibliotheken</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=10" title="Bewerk dit kopje: Bibliotheken" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=10" title="De broncode bewerken van de sectie: Bibliotheken"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python wordt geleverd met een uitgebreide bibliotheek om van alles en nog wat standaard te kunnen bewerken. Het is erg eenvoudig om in Python herbruikbare code te schrijven. Doordat veel van de bibliotheken die mensen schrijven, <a href="/wiki/Gratis" title="Gratis">gratis</a> en <a href="/wiki/Vrije_software" title="Vrije software">vrij</a> aan anderen ter beschikking worden gesteld, groeien de mogelijkheden van de bibliotheek voortdurend. Python wordt zo tot een programmeertaal die voor razendsnel ontwikkelen van een nieuwe applicatie kan worden gebruikt, zonder dat de daarbij geproduceerde code onleesbaar wordt. </p> <div class="mw-heading mw-heading2"><h2 id="Syntaxis_2">Syntaxis</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=11" title="Bewerk dit kopje: Syntaxis" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=11" title="De broncode bewerken van de sectie: Syntaxis"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Uitvoer">Uitvoer</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=12" title="Bewerk dit kopje: Uitvoer" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=12" title="De broncode bewerken van de sectie: Uitvoer"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Vertoning van uitvoer op de <a href="/wiki/Standaardstromen" title="Standaardstromen">standaarduitvoer</a> (meestal het scherm) gebeurt in Python 3 met de <code>print</code>-functie: </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"Hallo wereld"</span><span class="p">)</span> <span class="o">>></span> <span class="n">Hallo</span> <span class="n">wereld</span> <span class="nb">print</span><span class="p">(</span><span class="mi">3</span><span class="o">*</span><span class="mi">2</span><span class="p">)</span> <span class="o">>></span> <span class="mi">6</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"3*2"</span><span class="p">)</span> <span class="o">>></span> <span class="mi">3</span><span class="o">*</span><span class="mi">2</span> </pre></div> <p>Python gaat na de <code>print</code>-functie meteen een regel verder. Om op dezelfde regel nog iets te printen, is er het <code>end</code>-argument met een <a href="/wiki/String_(informatica)" class="mw-redirect" title="String (informatica)">string</a> als invoer: </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"Hallo"</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"wereld"</span><span class="p">)</span> <span class="o">>></span> <span class="n">Hallo</span> <span class="o">>></span> <span class="n">wereld</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Hallo"</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s2">" "</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"wereld"</span><span class="p">)</span> <span class="o">>></span> <span class="n">Hallo</span> <span class="n">wereld</span> </pre></div> <p>In Python maakt het overigens niet uit of de af te drukken string tussen enkele of dubbele aanhalingstekens wordt gezet, als het maar consequent gebeurt. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"'s Morgens zeg ik"</span><span class="p">,</span> <span class="s1">':'</span><span class="p">,</span> <span class="s1">' "Hallo!"'</span><span class="p">)</span> <span class="o">>></span> <span class="s1">'s Morgens zeg ik: "Hallo!"</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Commentaar">Commentaar</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=13" title="Bewerk dit kopje: Commentaar" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=13" title="De broncode bewerken van de sectie: Commentaar"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Om in een script <a href="/wiki/Commentaar_(programmeren)" title="Commentaar (programmeren)">tekstcommentaar</a> te plaatsen dat niet uitgevoerd mag worden, kan het <code>#</code>-teken worden gebruikt. Voor commentaar met meerdere regels wordt een blok met drie dubbele aanhalingstekens gebruikt. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># print("Deze regel wordt niet uitgevoerd")</span> <span class="sd">"""</span> <span class="sd">print("En deze regels?")</span> <span class="sd">print("Ook niet!")"""</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Deze regel wel"</span><span class="p">)</span> <span class="o">>></span> <span class="n">Deze</span> <span class="n">regel</span> <span class="n">wel</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Variabelen_en_feedback">Variabelen en feedback</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=14" title="Bewerk dit kopje: Variabelen en feedback" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=14" title="De broncode bewerken van de sectie: Variabelen en feedback"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Variabele_(informatica)" title="Variabele (informatica)">Variabelen</a> zijn containers die een waarde toegewezen krijgen of hebben gekregen. Variabelen kunnen worden gemanipuleerd, gebruikt of getoond. In Python hoeft de variabele niet van tevoren te worden gedeclareerd. Om de invoer van een gebruiker te kunnen opvragen wordt de <code>input</code>-functie gebruikt. De invoer wordt vervolgens aan een variabele toegekend. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># Werking van variabelen</span> <span class="n">som</span> <span class="o">=</span> <span class="mi">4</span><span class="o">*</span><span class="mi">3</span> <span class="nb">print</span><span class="p">(</span><span class="n">som</span><span class="p">)</span> <span class="o">>></span> <span class="mi">12</span> <span class="c1"># Manipulatie van variabelen</span> <span class="n">vijf</span> <span class="o">=</span> <span class="mi">4</span> <span class="n">drie</span> <span class="o">=</span> <span class="mi">3</span> <span class="nb">print</span><span class="p">(</span><span class="n">vijf</span> <span class="o">+</span> <span class="n">drie</span><span class="p">)</span> <span class="o">>></span> <span class="mi">7</span> <span class="n">correctie</span> <span class="o">=</span> <span class="mi">5</span> <span class="n">vijf</span> <span class="o">=</span> <span class="n">correctie</span> <span class="nb">print</span><span class="p">(</span><span class="n">vijf</span> <span class="o">+</span> <span class="n">drie</span><span class="p">)</span> <span class="o">>></span> <span class="mi">8</span> <span class="c1"># Nog een voorbeeld van manipulatie</span> <span class="n">breedte</span> <span class="o">=</span> <span class="mi">20</span> <span class="n">hoogte</span> <span class="o">=</span> <span class="mi">10</span> <span class="n">oppervlakte</span> <span class="o">=</span> <span class="n">breedte</span> <span class="o">*</span> <span class="n">hoogte</span> <span class="nb">print</span><span class="p">(</span><span class="n">oppervlakte</span><span class="p">)</span> <span class="o">>></span> <span class="mi">200</span> <span class="n">hoogte</span> <span class="o">=</span> <span class="n">hoogte</span> <span class="o">*</span> <span class="mi">2</span> <span class="c1"># hoogte *= 2 mag ook</span> <span class="n">oppervlakte</span> <span class="o">=</span> <span class="n">breedte</span> <span class="o">*</span> <span class="n">hoogte</span> <span class="nb">print</span><span class="p">(</span><span class="n">oppervlakte</span><span class="p">)</span> <span class="o">>></span> <span class="mi">400</span> <span class="c1"># Invoer van gebruiker vragen</span> <span class="n">naam</span> <span class="o">=</span> <span class="nb">input</span><span class="p">(</span><span class="s2">"Wat is uw naam?"</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Hallo "</span> <span class="o">+</span> <span class="n">naam</span> <span class="o">+</span> <span class="s2">"!"</span><span class="p">)</span> <span class="o">>></span> <span class="n">Wat</span> <span class="ow">is</span> <span class="n">uw</span> <span class="n">naam</span><span class="err">?</span> <span class="o"><<</span> <span class="n">Monty</span> <span class="o">>></span> <span class="n">Hallo</span> <span class="n">Monty</span><span class="err">!</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Expressies">Expressies</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=15" title="Bewerk dit kopje: Expressies" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=15" title="De broncode bewerken van de sectie: Expressies"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Uitdrukking_(programmeren)" title="Uitdrukking (programmeren)">Expressies</a> worden met de standaard vergelijkingsoperatoren bepaald en hebben als uitkomst de waarden <code>True</code> of <code>False</code>. Om een onware overeenkomst te testen wordt een uitroepteken gebruikt. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="n">hoog</span> <span class="o">=</span> <span class="mi">5</span> <span class="n">laag</span> <span class="o">=</span> <span class="mi">2</span> <span class="nb">print</span><span class="p">(</span><span class="n">laag</span> <span class="o"><</span> <span class="n">hoog</span><span class="p">)</span> <span class="o">>></span> <span class="kc">True</span> <span class="nb">print</span><span class="p">(</span><span class="n">laag</span> <span class="o">==</span> <span class="mi">3</span><span class="p">)</span> <span class="o">>></span> <span class="kc">False</span> <span class="nb">print</span><span class="p">(</span><span class="n">laag</span> <span class="o">!=</span> <span class="mi">3</span><span class="p">)</span> <span class="o">>></span> <span class="kc">True</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Booleaanse_operatoren">Booleaanse operatoren</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=16" title="Bewerk dit kopje: Booleaanse operatoren" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=16" title="De broncode bewerken van de sectie: Booleaanse operatoren"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Bij een expressie kunnen de <a href="/wiki/Booleaanse_operator" title="Booleaanse operator">booleaanse operatoren</a> <code>or</code> en <code>and</code> worden gebruikt. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="n">hoog</span> <span class="o">=</span> <span class="mi">9</span> <span class="n">laag</span> <span class="o">=</span> <span class="mi">3</span> <span class="nb">print</span><span class="p">(</span><span class="n">hoog</span> <span class="o"><</span> <span class="n">laag</span> <span class="ow">or</span> <span class="n">laag</span> <span class="o">==</span> <span class="mi">3</span><span class="p">)</span> <span class="c1"># Test of een van de expressies waar is</span> <span class="o">>></span> <span class="kc">True</span> <span class="nb">print</span><span class="p">(</span><span class="n">hoog</span> <span class="o"><</span> <span class="n">laag</span> <span class="ow">and</span> <span class="n">laag</span> <span class="o">==</span> <span class="mi">3</span><span class="p">)</span> <span class="c1"># Test of beide expressies waar zijn</span> <span class="o">>></span> <span class="kc">False</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Beslissingen">Beslissingen</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=17" title="Bewerk dit kopje: Beslissingen" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=17" title="De broncode bewerken van de sectie: Beslissingen"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Beslissingen worden genomen met een <code>if</code>-statement, aan de hand van een expressie. Deze kunnen worden aangevuld met een <code>else</code>-statement en <code>elif</code>-statements. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># Importeren van library voor het tonen van willekeurige getallen</span> <span class="kn">import</span> <span class="nn">random</span> <span class="n">win</span> <span class="o">=</span> <span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="mi">3</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Welkom bij Let's make a deal. Kies een deur."</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"[1] Deur Een"</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"[2] Deur Twee"</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"[3] Deur Drie"</span><span class="p">)</span> <span class="n">deur</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="nb">input</span><span class="p">(</span><span class="s2">"Geef een keuze op:"</span><span class="p">))</span> <span class="c1"># If-else-blok</span> <span class="k">if</span> <span class="n">deur</span> <span class="o">==</span> <span class="n">win</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Achter de deur zit een koffer met een miljoen euro. Jij wint!"</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Achter de deur bevindt zich een pakezel waarmee je terug naar huis kan gaan. Jij verliest!"</span><span class="p">)</span> <span class="c1"># Ervan uitgaand dat de "win"-variabele hetzelfde is als de opgegeven invoer</span> <span class="o">...</span> <span class="o">>></span> <span class="n">Geef</span> <span class="n">een</span> <span class="n">keuze</span> <span class="n">op</span><span class="p">:</span> <span class="o"><<</span> <span class="mi">3</span> <span class="o">>></span> <span class="n">Achter</span> <span class="n">de</span> <span class="n">deur</span> <span class="n">zit</span> <span class="n">een</span> <span class="n">koffer</span> <span class="n">met</span> <span class="n">een</span> <span class="n">miljoen</span> <span class="n">euro</span><span class="o">.</span> <span class="n">Jij</span> <span class="n">wint</span><span class="err">!</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Datastructuren">Datastructuren</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=18" title="Bewerk dit kopje: Datastructuren" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=18" title="De broncode bewerken van de sectie: Datastructuren"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De meestvoorkomende <a href="/wiki/Datastructuur" title="Datastructuur">datastructuur</a> in Python is de ‘list’. Deze bestaat uit een index van verschillende soorten eenheden. Het eerste indexgetal is hierbij altijd een nul. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="n">kleuren</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"rood"</span><span class="p">,</span> <span class="s2">"geel"</span><span class="p">]</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleuren</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span> <span class="o">>></span> <span class="n">geel</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleuren</span><span class="p">)</span> <span class="o">>></span> <span class="p">[</span><span class="s1">'rood'</span><span class="p">,</span> <span class="s1">'geel'</span><span class="p">]</span> <span class="n">kleuren</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="s2">"blauw"</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleuren</span><span class="p">)</span> <span class="o">>></span> <span class="p">[</span><span class="s1">'rood'</span><span class="p">,</span> <span class="s1">'geel'</span><span class="p">,</span> <span class="s1">'blauw'</span><span class="p">]</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Repetitie">Repetitie</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=19" title="Bewerk dit kopje: Repetitie" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=19" title="De broncode bewerken van de sectie: Repetitie"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python heeft twee <a href="/wiki/Repetitie_(informatica)" title="Repetitie (informatica)">lusconstructies</a> om een statement herhaaldelijk uit te voeren, namelijk de <code>while</code>-lus en de <code>for</code>-lus. </p> <div class="mw-heading mw-heading4"><h4 id="For-statement">For-statement</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=20" title="Bewerk dit kopje: For-statement" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=20" title="De broncode bewerken van de sectie: For-statement"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De <code>for</code>-lus is gemaakt om datastructuren af te lopen. Hij verschilt van de meeste andere <code>for</code>-lussen uit programmeertalen en is het best te vergelijken met de <code>foreach</code>-lus uit <a href="/wiki/PHP" title="PHP">PHP</a>). </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># Voorbeeld met for-lussen</span> <span class="n">kleuren</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"rood"</span><span class="p">,</span> <span class="s2">"geel"</span><span class="p">,</span> <span class="s2">"blauw"</span><span class="p">,</span> <span class="s2">"zwart"</span><span class="p">,</span> <span class="s2">"oranje"</span><span class="p">,</span> <span class="s2">"paars"</span><span class="p">,</span> <span class="s2">"groen"</span><span class="p">]</span> <span class="n">hoeveelheid</span> <span class="o">=</span> <span class="mi">0</span> <span class="c1"># Deze variabele wordt gemanipuleerd in de for-lus, dus moet hij hier vooraf worden gedeclareerd</span> <span class="k">for</span> <span class="n">aantal</span> <span class="ow">in</span> <span class="n">kleuren</span><span class="p">:</span> <span class="n">hoeveelheid</span> <span class="o">+=</span> <span class="mi">1</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"In mijn doos met kleurpotloden zitten "</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">hoeveelheid</span><span class="p">)</span> <span class="o">+</span> <span class="s2">" potloden."</span><span class="p">)</span> <span class="c1"># Integers kunnen niet worden geconcateneerd met strings, vandaar de str-functie</span> <span class="c1"># Zie ook http://nl.wikipedia.org/wiki/Concatenatie</span> <span class="o">>></span> <span class="n">In</span> <span class="n">mijn</span> <span class="n">doos</span> <span class="n">met</span> <span class="n">kleurpotloden</span> <span class="n">zitten</span> <span class="mi">7</span> <span class="n">potloden</span><span class="o">.</span> <span class="c1"># Nog een voorbeeld met for-lussen</span> <span class="n">kleuren</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"rood"</span><span class="p">,</span> <span class="s2">"geel"</span><span class="p">,</span> <span class="s2">"blauw"</span><span class="p">,</span> <span class="s2">"zwart"</span><span class="p">,</span> <span class="s2">"oranje"</span><span class="p">,</span> <span class="s2">"paars"</span><span class="p">,</span> <span class="s2">"groen"</span><span class="p">]</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Mijn doos met kleurpotloden bevat een"</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s2">" "</span><span class="p">)</span> <span class="k">for</span> <span class="n">kleur</span> <span class="ow">in</span> <span class="n">kleuren</span><span class="p">:</span> <span class="k">if</span> <span class="n">kleur</span> <span class="o">==</span> <span class="n">kleuren</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]:</span> <span class="c1"># Vergelijking met laatste element uit lijst</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleur</span> <span class="o">+</span> <span class="s2">" potlood."</span><span class="p">)</span> <span class="k">elif</span> <span class="n">kleur</span> <span class="o">==</span> <span class="n">kleuren</span><span class="p">[</span><span class="o">-</span><span class="mi">2</span><span class="p">]:</span> <span class="c1"># Vergelijking met een-na-laatste element uit lijst</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleur</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s2">" en "</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="n">kleur</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s2">", "</span><span class="p">)</span> <span class="o">>></span> <span class="n">Mijn</span> <span class="n">doos</span> <span class="n">met</span> <span class="n">kleurpotloden</span> <span class="n">bevat</span> <span class="n">een</span> <span class="n">rood</span><span class="p">,</span> <span class="n">geel</span><span class="p">,</span> <span class="n">blauw</span><span class="p">,</span> <span class="n">zwart</span><span class="p">,</span> <span class="n">oranje</span><span class="p">,</span> <span class="n">paars</span> <span class="n">en</span> <span class="n">groen</span> <span class="n">potlood</span><span class="o">.</span> </pre></div> <div class="mw-heading mw-heading4"><h4 id="While-statement">While-statement</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=21" title="Bewerk dit kopje: While-statement" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=21" title="De broncode bewerken van de sectie: While-statement"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De <code>while</code>-lus herhaalt een statement aan de hand van een expressie: </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="n">getal</span> <span class="o">=</span> <span class="mi">1</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Ik kan tot vijf tellen!"</span><span class="p">)</span> <span class="k">while</span> <span class="n">getal</span> <span class="o"><=</span> <span class="mi">5</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="n">getal</span><span class="p">)</span> <span class="n">getal</span> <span class="o">+=</span> <span class="mi">1</span> <span class="o">>></span> <span class="n">Ik</span> <span class="n">kan</span> <span class="n">tot</span> <span class="n">vijf</span> <span class="n">tellen</span><span class="err">!</span> <span class="o">>></span> <span class="mi">1</span> <span class="o">>></span> <span class="mi">2</span> <span class="o">>></span> <span class="mi">3</span> <span class="o">>></span> <span class="mi">4</span> <span class="o">>></span> <span class="mi">5</span> </pre></div> <p>Bij <code>for</code>- en <code>while</code>-statements kan de <code>range</code>-functie worden gebruikt. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"Ik kan tot vijf tellen!"</span><span class="p">)</span> <span class="k">for</span> <span class="n">getal</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">6</span><span class="p">):</span> <span class="c1"># Laatste getal wordt niet meegeteld</span> <span class="nb">print</span><span class="p">(</span><span class="n">getal</span><span class="p">)</span> <span class="c1"># Output hetzelfde als vorige voorbeeld</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Abstractie">Abstractie</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=22" title="Bewerk dit kopje: Abstractie" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=22" title="De broncode bewerken van de sectie: Abstractie"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading4"><h4 id="Functies">Functies</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=23" title="Bewerk dit kopje: Functies" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=23" title="De broncode bewerken van de sectie: Functies"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Subprogramma" title="Subprogramma">Functies</a> worden gemaakt met het <code>def</code>-statement, met of zonder argumenten. </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="k">def</span> <span class="nf">kwadrateren</span><span class="p">(</span><span class="n">getal</span><span class="p">):</span> <span class="k">return</span> <span class="n">getal</span><span class="o">*</span><span class="n">getal</span> <span class="nb">print</span><span class="p">(</span><span class="n">kwadrateren</span><span class="p">(</span><span class="mi">6</span><span class="p">))</span> <span class="o">>></span> <span class="mi">36</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Foutafhandeling">Foutafhandeling</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=24" title="Bewerk dit kopje: Foutafhandeling" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=24" title="De broncode bewerken van de sectie: Foutafhandeling"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python heeft geavanceerde procedures voor <a href="/wiki/Exception_handling" title="Exception handling">exception handling</a>, die worden gebruikt in de zogenaamde <a href="/w/index.php?title=EAFP&action=edit&redlink=1" class="new" title="EAFP (de pagina bestaat niet)">EAFP</a>-stijl (Easier to Ask Forgiveness than Permission) van programmeren. De volgende code geldt als acceptabele Pythoncode: </p> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="k">try</span><span class="p">:</span> <span class="n">x</span> <span class="o">=</span> <span class="mi">1</span> <span class="o">/</span> <span class="n">y</span> <span class="k">except</span> <span class="ne">ZeroDivisionError</span><span class="p">:</span> <span class="n">x</span> <span class="o">=</span> <span class="mi">0</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Implementaties_en_versies">Implementaties en versies</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=25" title="Bewerk dit kopje: Implementaties en versies" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=25" title="De broncode bewerken van de sectie: Implementaties en versies"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De standaardimplementatie van Python is geschreven in C. Vandaar wordt ze ook soms CPython genoemd. </p> <div class="mw-heading mw-heading3"><h3 id="CPython">CPython</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=26" title="Bewerk dit kopje: CPython" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=26" title="De broncode bewerken van de sectie: CPython"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De eerste implementatie van Python is geschreven in <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a>. Dit is de meestgebruikte versie. Ze is beschikbaar via de officiële Pythonwebsite, en staat voorgeïnstalleerd op de meeste distributies en versies van Linux en Mac OS. </p><p>Van deze distributie bestaan twee veelgebruikte versies: 2 en 3. Aangezien versie 3 een aantal veranderingen inhoudt die niet compatibel zijn met versie 2, is versie 3 niet zomaar een vervanging van versie 2. Om een Pythonprogramma uit te voeren is het belangrijk te weten welke versie van Python het gebruikt. </p> <div class="mw-heading mw-heading3"><h3 id="Jython">Jython</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=27" title="Bewerk dit kopje: Jython" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=27" title="De broncode bewerken van de sectie: Jython"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De J staat hier voor de programmeertaal Java. Deze Pythonversie wordt uitgevoerd aan de hand van de <a href="/wiki/Java_Runtime_Environment" title="Java Runtime Environment">Java Runtime Environment</a>. Dit is een programmeerplatform waarop verschillende talen (niet enkel Java) systeemonafhankelijk uitgevoerd kunnen worden. </p> <div class="mw-heading mw-heading3"><h3 id="IronPython">IronPython</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=28" title="Bewerk dit kopje: IronPython" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=28" title="De broncode bewerken van de sectie: IronPython"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="hatnote" style="margin-bottom:0.5em; padding:0.5em 0 0.5em 1.6em; font-size:95%;" role="note"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/15px-1rightarrow_blue.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/23px-1rightarrow_blue.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/30px-1rightarrow_blue.svg.png 2x" data-file-width="480" data-file-height="480" /></span></span> <i>Zie <a href="/wiki/IronPython" title="IronPython">IronPython</a> voor het hoofdartikel over dit onderwerp.</i></div> <p>Ook <a href="/wiki/.NET" title=".NET">.NET</a> heeft haar eigen versie van Python. .NET is de tegenhanger van de Java Runtime Environment gecreëerd door <a href="/wiki/Microsoft" title="Microsoft">Microsoft</a>, en biedt programmeurs een platform om Windows-applicaties te schrijven. </p> <div class="mw-heading mw-heading3"><h3 id="PyPy">PyPy</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=29" title="Bewerk dit kopje: PyPy" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=29" title="De broncode bewerken van de sectie: PyPy"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="hatnote" style="margin-bottom:0.5em; padding:0.5em 0 0.5em 1.6em; font-size:95%;" role="note"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/15px-1rightarrow_blue.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/23px-1rightarrow_blue.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ee/1rightarrow_blue.svg/30px-1rightarrow_blue.svg.png 2x" data-file-width="480" data-file-height="480" /></span></span> <i>Zie <a href="/wiki/PyPy" title="PyPy">PyPy</a> voor het hoofdartikel over dit onderwerp.</i></div> <p>Deze implementatie van Python is geschreven in RPython (een beperkte Python-variant), en focust op snelheid. De naam verwijst naar haar implementatietaal: de <a href="/wiki/Bestandsextensie" title="Bestandsextensie">extensie</a> van een Python-bestand is: .py. </p> <div class="mw-heading mw-heading2"><h2 id="Use_cases_van_Python">Use cases van Python</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=30" title="Bewerk dit kopje: Use cases van Python" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=30" title="De broncode bewerken van de sectie: Use cases van Python"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python is een programmeertaal met een enorm aanbod aan bibliotheken en kan in zo goed als elk programmeerdomein gebruikt worden. Voor sommige specifieke <a href="/wiki/Usecase" title="Usecase">usecases</a> is Python echter speciaal geschikt. </p> <div class="mw-heading mw-heading3"><h3 id="OS_Scripting">OS Scripting</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=31" title="Bewerk dit kopje: OS Scripting" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=31" title="De broncode bewerken van de sectie: OS Scripting"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python is een <a href="/wiki/Scripttaal" title="Scripttaal">scripttaal</a> gebruikt voor het uitvoeren van taken op een besturingssysteem. Voordelen van Python voor deze usecase zijn haar scriptachtige syntaxis, de tools die de Pythontaal en standaardbibliotheek aanbiedt voor zulke taken en dat Python min of meer systeemonafhankelijk werkt. Dit laatste wil zeggen dat dezelfde Pythoncode op verschillende besturingssystemen gebruikt kan worden. </p> <div class="mw-heading mw-heading3"><h3 id="Wiskunde_en_wetenschap">Wiskunde en wetenschap</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=32" title="Bewerk dit kopje: Wiskunde en wetenschap" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=32" title="De broncode bewerken van de sectie: Wiskunde en wetenschap"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python is ook bekend als programmeertaal voor wiskundige en wetenschappelijke programma's. <a href="/wiki/NumPy" title="NumPy">NumPy</a> en SciPy zijn krachtige bibliotheken voor wiskundige en wetenschappelijke berekeningen. </p> <div class="mw-heading mw-heading3"><h3 id="Web">Web</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=33" title="Bewerk dit kopje: Web" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=33" title="De broncode bewerken van de sectie: Web"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Python kan ook gebruikt worden om <a href="/wiki/Webapplicatie" title="Webapplicatie">webapplicaties</a> te ontwikkelen. Hiervoor bestaan allerlei webapplicatie-<a href="/wiki/Framework_(software)" title="Framework (software)">frameworks</a>, zoals <a href="/wiki/Django_(framework)" title="Django (framework)">Django</a> en <a href="/w/index.php?title=Flask&action=edit&redlink=1" class="new" title="Flask (de pagina bestaat niet)">Flask</a>, en servertechnologieën, zoals <a href="/w/index.php?title=Mod_python&action=edit&redlink=1" class="new" title="Mod python (de pagina bestaat niet)">mod_python</a>. Men heeft ook een standaard gedefinieerd, genaamd <a href="/wiki/Web_Server_Gateway_Interface" title="Web Server Gateway Interface">Web Server Gateway Interface</a> (WSGI), voor de communicatie tussen webservers en webapplicatie-frameworks. Op deze manier kunnen <a href="/wiki/Porteren" title="Porteren">portable</a> webapplicaties en frameworks geschreven worden in Python. </p> <div class="mw-heading mw-heading2"><h2 id="Zie_ook">Zie ook</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=34" title="Bewerk dit kopje: Zie ook" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=34" title="De broncode bewerken van de sectie: Zie ook"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Lijst_van_programmeertalen" title="Lijst van programmeertalen">Lijst van programmeertalen</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Externe_links">Externe links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Python_(programmeertaal)&veaction=edit&section=35" title="Bewerk dit kopje: Externe links" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Python_(programmeertaal)&action=edit&section=35" title="De broncode bewerken van de sectie: Externe links"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r67679320"><span class="taalaanduiding" title="Taal: Engels">(<span>en</span>) </span><a rel="nofollow" class="external text" href="https://www.python.org/">Officiële website</a></li> <li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r67679320"><span class="taalaanduiding" title="Taal: Nederlands">(<span>nl</span>) </span><a rel="nofollow" class="external text" href="https://tweakers.net/video/11095/polderpioniers-guido-van-rossum-ontwerper-van-de-programmeertaal-python.html">Interview met Guido van Rossum, ontwerper van Python</a></li></ul> <div class="interProject commons mw-list-item" style="display:none;"><a href="https://commons.wikimedia.org/wiki/Category:Python_(programmeertaal)#mw-subcategories" class="extiw" title="commons:Category:Python (programmeertaal)">Mediabestanden</a></div> <div class="interProjectTemplate interProject-klein toccolours noprint" style="box-sizing:border-box; display:flex; gap:1em; align-items:center; font-size:85%; clear:right; float:right; margin: 0 0 1em 1em; padding:0.5em; width:270px;"> <div style="min-width:fit-content;"><span class="noviewer" typeof="mw:File"><a href="/wiki/Bestand:Commons-logo.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/25px-Commons-logo.svg.png" decoding="async" width="25" height="34" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/38px-Commons-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/50px-Commons-logo.svg.png 2x" data-file-width="1024" data-file-height="1376" /></a></span></div> <div><a href="/wiki/Wikimedia_Commons" title="Wikimedia Commons">Commons</a> heeft media­bestanden in de categorie <i><b><a href="https://commons.wikimedia.org/wiki/Category:Python_(programming_language)#mw-subcategories" class="extiw" title="commons:Category:Python (programming language)">Python (programming language)</a></b></i>.</div> </div> <div class="interProject wikibooks mw-list-item" style="display:none;"><a href="https://nl.wikibooks.org/wiki/Programmeren_in_Python" class="extiw" title="b:Programmeren in Python">Wikibooks</a></div> <div class="interProjectTemplate interProject-klein toccolours noprint" style="box-sizing:border-box; display:flex; gap:1em; align-items:center; font-size:85%; clear:right; float:right; margin: 0 0 1em 1em; padding:0.5em; width:270px;"> <div style="min-width:fit-content;"><span class="noviewer" typeof="mw:File"><a href="/wiki/Bestand:Wikibooks-logo.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/25px-Wikibooks-logo.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/38px-Wikibooks-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/50px-Wikibooks-logo.svg.png 2x" data-file-width="300" data-file-height="300" /></a></span></div> <div><a href="/wiki/Wikibooks" title="Wikibooks">Wikibooks</a> heeft meer over dit onderwerp: <i><b><a href="https://nl.wikibooks.org/wiki/Programmeren_in_Python" class="extiw" title="b:Programmeren in Python">Cursus programmeren in Python</a></b></i>.</div> </div> <div class="toccolours appendix" role="presentation" style="font-size:90%; margin:1em 0 -0.5em; clear:both;"> <div><span style="font-weight:bold">Bronnen, noten en/of referenties</span></div> <div class="reflist" style="list-style-type: decimal;"><div class="mw-references-wrap"><ol class="references"> <li id="cite_note-wikidata-9fd6de1cf76d42f947dac2058c4a4276e73cd716-v3-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-9fd6de1cf76d42f947dac2058c4a4276e73cd716-v3_1-0">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://lwn.net/Articles/993191/">"Python 3.13 released"</a>; geraadpleegd op: 7 oktober 2024; taal van werk of naam: Engels; datum van uitgave: 7 oktober 2024; huispublicatie: LWN.net.</span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://docs.python.org/3/faq/general.html#why-was-python-created-in-the-first-place">'Why was Python created in the first place?'</a>, een samenvatting van de ontstaansgeschiedenis van Python, door Guido van Rossum</span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://mail.python.org/pipermail/python-committers/2018-July/005664.html">'Transfer of power'</a>, een mail in de python-committers <a href="/wiki/Mailinglijst" title="Mailinglijst">mailinglijst</a>, door Guido van Rossem</span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://docs.python.org/2/faq/general.html#why-is-it-called-python">Python FAQ</a></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><a href="#cite_ref-5">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://python-history.blogspot.nl/2009/01/personal-history-part-1-cwi.html">Personal history part 1</a>, Python-history blogspot</span> </li> </ol></div></div> <ul><li><a rel="nofollow" class="external text" href="http://www.nrc.nl/handelsblad/van/2015/maart/02/de-python-dictator-voor-het-leven-1471785">De Python-dictator voor het leven</a>, interview met Guido van Rossum, NRC, 2 maart 2015</li></ul> </div> <style data-mw-deduplicate="TemplateStyles:r67837862">.mw-parser-output .navigatie{position:relative;clear:both;overflow:auto;margin:1em auto -0.5em;padding:2px;background-color:var(--background-color-neutral-subtle,#f8f9fa);border:1px solid var(--border-color-base,#a2a9b1);text-align:center;font-size:87%}.mw-parser-output .navigatie-bewerken{margin-left:0.5em}.mw-parser-output .navigatie-bewerken .mw-ui-icon::before{background-size:0.9em}.mw-parser-output .navigatie-afb-links,.mw-parser-output .navigatie-afb-rechts{position:absolute}.mw-parser-output .navigatie-afb-rechts{right:2px}.mw-parser-output .navigatie-afb-groot{float:right;padding-left:0.5em}.mw-parser-output .navigatie-titel{background-color:#ddeef8;padding:2px 5.5em;font-weight:bold}.mw-parser-output .navigatie-inhoud{padding:0.5em}.mw-parser-output .navigatie-inhoud p:first-child{margin:0}.mw-parser-output .navigatie div[style*="background-color"],.mw-parser-output .navigatie div[style*="background"]{color:inherit}@media screen{html.skin-theme-clientpref-night .mw-parser-output .navigatie-titel{background-color:var(--background-color-interactive,#eaecf0)!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navigatie-titel{background-color:var(--background-color-interactive,#eaecf0)!important}}</style> <div class="navigatie" role="navigation" aria-labelledby="Programmeertalen"> <div class="navigatie-afb-links noviewer"><div class="navigatie-bewerken show-autoconfirmed nomobile"><span class="nowrap skin-invert-image"><span typeof="mw:File"><a href="/wiki/Sjabloon:Navigatie_programmeertalen" title="Sjabloon:Navigatie programmeertalen"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/16px-OOjs_UI_icon_article-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/24px-OOjs_UI_icon_article-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/32px-OOjs_UI_icon_article-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span> · <span typeof="mw:File"><a href="https://en.wikipedia.org/wiki/nl:Overleg_sjabloon:Navigatie_programmeertalen" title="Overleg sjabloon"><img alt="Overleg sjabloon" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/16px-OOjs_UI_icon_speechBubbles-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/24px-OOjs_UI_icon_speechBubbles-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/32px-OOjs_UI_icon_speechBubbles-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span> · <span typeof="mw:File"><a href="//nl.wikipedia.org/w/index.php?title=Sjabloon:Navigatie_programmeertalen&action=edit" title="Sjabloon bewerken"><img alt="Sjabloon bewerken" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/16px-OOjs_UI_icon_edit-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/24px-OOjs_UI_icon_edit-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/32px-OOjs_UI_icon_edit-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></span></div></div> <div id="Programmeertalen" class="navigatie-titel"><a href="/wiki/Programmeertaal" title="Programmeertaal">Programmeertalen</a></div> <div class="navigatie-inhoud"> <p><a href="/wiki/ABAP" title="ABAP">ABAP</a> · <a href="/wiki/ABC_(programmeertaal)" title="ABC (programmeertaal)">ABC</a> · <a href="/wiki/ActionScript" title="ActionScript">ActionScript</a> · <a href="/wiki/Ada_(programmeertaal)" title="Ada (programmeertaal)">Ada</a> · <a href="/wiki/Algol_(programmeertaal)" title="Algol (programmeertaal)">Algol</a> · <a href="/wiki/APL_(programmeertaal)" title="APL (programmeertaal)">APL</a> · <a href="/wiki/Assembleertaal" title="Assembleertaal">assembleertalen</a> · <a href="/wiki/AWK" title="AWK">AWK</a> · <a href="/wiki/B_(programmeertaal)" title="B (programmeertaal)">B</a> · <a href="/wiki/BASIC" title="BASIC">BASIC</a> · <a href="/wiki/BCPL" title="BCPL">BCPL</a> · <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a> · <a href="/wiki/C%2B%2B" title="C++">C++</a> · <a href="/wiki/C_Sharp" title="C Sharp">C#</a> · <a href="/wiki/Clean_(programmeertaal)" title="Clean (programmeertaal)">Clean</a> · <a href="/wiki/Clipper_(programmeertaal)" title="Clipper (programmeertaal)">Clipper</a> · <a href="/wiki/COBOL" title="COBOL">COBOL</a> · <a href="/wiki/COMAL" title="COMAL">COMAL</a> · <a href="/wiki/Curry_(programmeertaal)" title="Curry (programmeertaal)">Curry</a> · <a href="/wiki/D_(programmeertaal)" title="D (programmeertaal)">D</a> · <a href="/wiki/Eiffel_(programmeertaal)" title="Eiffel (programmeertaal)">Eiffel</a> · <a href="/wiki/Erlang_(programmeertaal)" title="Erlang (programmeertaal)">Erlang</a> · <a href="/wiki/F_Sharp" title="F Sharp">F#</a> · <a href="/wiki/Forth_(programmeertaal)" title="Forth (programmeertaal)">Forth</a> · <a href="/wiki/Fortran" title="Fortran">Fortran</a> · <a href="/wiki/Go_(programmeertaal)" title="Go (programmeertaal)">Go</a> · <a href="/wiki/Haskell_(programmeertaal)" title="Haskell (programmeertaal)">Haskell</a> · <a href="/wiki/Icon_(programmeertaal)" title="Icon (programmeertaal)">Icon</a> · <a href="/wiki/J_Sharp" title="J Sharp">J#</a> · <a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a> · <a href="/wiki/Julia_(programmeertaal)" title="Julia (programmeertaal)">Julia</a> · <a href="/wiki/Kotlin_(programmeertaal)" title="Kotlin (programmeertaal)">Kotlin</a> · <a href="/wiki/Lisp_(programmeertaal)" title="Lisp (programmeertaal)">Lisp</a> · <a href="/wiki/Logo_(programmeertaal)" title="Logo (programmeertaal)">Logo</a> · <a href="/wiki/Lua_(programmeertaal)" title="Lua (programmeertaal)">Lua</a> · <a href="/wiki/M4_(programmeertaal)" title="M4 (programmeertaal)">m4</a> · <a href="/wiki/ML_(programmeertaal)" title="ML (programmeertaal)">ML</a> · <a href="/wiki/Modula-2" title="Modula-2">Modula-2</a> · <a href="/wiki/Oberon_(programmeertaal)" title="Oberon (programmeertaal)">Oberon</a> · <a href="/wiki/Object_Pascal" title="Object Pascal">Object Pascal</a> · <a href="/wiki/Objective-C" title="Objective-C">Objective-C</a> · <a href="/wiki/Ocaml" title="Ocaml">Ocaml</a> · <a href="/wiki/Oz_(programmeertaal)" title="Oz (programmeertaal)">Oz</a> · <a href="/wiki/Pascal_(programmeertaal)" title="Pascal (programmeertaal)">Pascal</a> · <a href="/wiki/Perl_(programmeertaal)" title="Perl (programmeertaal)">Perl</a> · <a href="/wiki/PHP" title="PHP">PHP</a> · <a href="/wiki/PL/1" title="PL/1">PL/I</a> · <a href="/wiki/PL/SQL" title="PL/SQL">PL/SQL</a> · <a href="/wiki/Prolog" title="Prolog">Prolog</a> · <a href="/wiki/Prova_(programmeertaal)" title="Prova (programmeertaal)">Prova</a> · <a class="mw-selflink selflink">Python</a> · <a href="/wiki/Rexx" title="Rexx">Rexx</a> · <a href="/wiki/RPG_(programmeertaal)" title="RPG (programmeertaal)">RPG</a> · <a href="/wiki/Ruby_(programmeertaal)" title="Ruby (programmeertaal)">Ruby</a> · <a href="/wiki/Rust_(programmeertaal)" title="Rust (programmeertaal)">Rust</a> · <a href="/wiki/SAS_(programmeertaal)" title="SAS (programmeertaal)">SAS</a> · <a href="/wiki/Scala_(programmeertaal)" title="Scala (programmeertaal)">Scala</a> · <a href="/wiki/Scheme" title="Scheme">Scheme</a> · <a href="/wiki/Self_(programmeertaal)" title="Self (programmeertaal)">Self</a> · <a href="/wiki/Simula" title="Simula">Simula</a> · <a href="/wiki/Smalltalk_(programmeertaal)" title="Smalltalk (programmeertaal)">Smalltalk</a> · <a href="/wiki/Swift_(programmeertaal)" title="Swift (programmeertaal)">Swift</a> · <a href="/wiki/Tcl_(programmeertaal)" title="Tcl (programmeertaal)">TCL</a> · <a href="/wiki/TypeScript" title="TypeScript">TypeScript</a> · <a href="/wiki/Vala_(programmeertaal)" title="Vala (programmeertaal)">Vala</a> · <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> · <a href="/wiki/Zig_(programmeertaal)" title="Zig (programmeertaal)">Zig</a> · </p> </div></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐7d9797f5d‐w8sw9 Cached time: 20241120061014 Cache expiry: 64201 Reduced expiry: true Complications: [show‐toc] CPU time usage: 0.661 seconds Real time usage: 0.788 seconds Preprocessor visited node count: 1737/1000000 Post‐expand include size: 22242/2097152 bytes Template argument size: 7133/2097152 bytes Highest expansion depth: 11/100 Expensive parser function count: 15/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 25323/5000000 bytes Lua time usage: 0.464/10.000 seconds Lua memory usage: 12223597/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 673.685 1 -total 81.68% 550.293 1 Sjabloon:Infobox_programmeertaal 81.21% 547.123 1 Sjabloon:Infobox_generiek 77.76% 523.828 11 Sjabloon:Wikidata 9.88% 66.552 1 Sjabloon:Commonscat_klein 8.71% 58.703 2 Sjabloon:Zusterproject_box_klein 7.75% 52.239 2 Sjabloon:First_non_empty 3.71% 25.006 1 Sjabloon:Navigatie_programmeertalen 3.39% 22.833 1 Sjabloon:Navigatie 2.77% 18.686 1 Sjabloon:PAGENAMEBASE --> <!-- Saved in parser cache with key nlwiki:pcache:idhash:3580-0!canonical and timestamp 20241120061014 and revision id 68104427. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Overgenomen van "<a dir="ltr" href="https://nl.wikipedia.org/w/index.php?title=Python_(programmeertaal)&oldid=68104427">https://nl.wikipedia.org/w/index.php?title=Python_(programmeertaal)&oldid=68104427</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Categorie:Alles" title="Categorie:Alles">Categorieën</a>: <ul><li><a href="/wiki/Categorie:Opensourcesoftware_en_vrije_software" title="Categorie:Opensourcesoftware en vrije software">Opensourcesoftware en vrije software</a></li><li><a href="/wiki/Categorie:Programmeertaal" title="Categorie:Programmeertaal">Programmeertaal</a></li><li><a href="/wiki/Categorie:Python_(programmeertaal)" title="Categorie:Python (programmeertaal)">Python (programmeertaal)</a></li><li><a href="/wiki/Categorie:Wiskundige_software" title="Categorie:Wiskundige software">Wiskundige software</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Deze pagina is voor het laatst bewerkt op 12 sep 2024 om 03:41.</li> <li id="footer-info-copyright">De tekst is beschikbaar onder de licentie <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.nl">Creative Commons Naamsvermelding/Gelijk delen</a>, er kunnen aanvullende voorwaarden van toepassing zijn. Zie de <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/nl">gebruiksvoorwaarden</a> voor meer informatie.<br /> Wikipedia® is een geregistreerd handelsmerk van de <a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org">Wikimedia Foundation, Inc.</a>, een organisatie zonder winstoogmerk.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacybeleid</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia">Over Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Algemeen_voorbehoud">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Gedragscode</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Ontwikkelaars</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/nl.wikipedia.org">Statistieken</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookieverklaring</a></li> <li id="footer-places-mobileview"><a href="//nl.m.wikipedia.org/w/index.php?title=Python_(programmeertaal)&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobiele weergave</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-7d9797f5d-smbh9","wgBackendResponseTime":175,"wgPageParseReport":{"limitreport":{"cputime":"0.661","walltime":"0.788","ppvisitednodes":{"value":1737,"limit":1000000},"postexpandincludesize":{"value":22242,"limit":2097152},"templateargumentsize":{"value":7133,"limit":2097152},"expansiondepth":{"value":11,"limit":100},"expensivefunctioncount":{"value":15,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":25323,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 673.685 1 -total"," 81.68% 550.293 1 Sjabloon:Infobox_programmeertaal"," 81.21% 547.123 1 Sjabloon:Infobox_generiek"," 77.76% 523.828 11 Sjabloon:Wikidata"," 9.88% 66.552 1 Sjabloon:Commonscat_klein"," 8.71% 58.703 2 Sjabloon:Zusterproject_box_klein"," 7.75% 52.239 2 Sjabloon:First_non_empty"," 3.71% 25.006 1 Sjabloon:Navigatie_programmeertalen"," 3.39% 22.833 1 Sjabloon:Navigatie"," 2.77% 18.686 1 Sjabloon:PAGENAMEBASE"]},"scribunto":{"limitreport-timeusage":{"value":"0.464","limit":"10.000"},"limitreport-memusage":{"value":12223597,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-7d9797f5d-w8sw9","timestamp":"20241120061014","ttl":64201,"transientcontent":true}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Python (programmeertaal)","url":"https:\/\/nl.wikipedia.org\/wiki\/Python_(programmeertaal)","sameAs":"http:\/\/www.wikidata.org\/entity\/Q28865","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q28865","author":{"@type":"Organization","name":"Bijdragers aan Wikimedia-projecten"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-10-09T08:26:57Z","dateModified":"2024-09-12T02:41:31Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/c\/c3\/Python-logo-notext.svg","headline":"universele programmeertaal"}</script> </body> </html>