CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 11:07:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100118014251
location: https://web.archive.org/web/20100118014251/https://wiki.python.org/moin/BeginnersGuide/Examples
server-timing: captures_list;dur=0.684360, exclusion.robots;dur=0.028379, exclusion.robots.policy;dur=0.013132, esindex;dur=0.013223, cdx.remote;dur=20.685697, LoadShardBlock;dur=462.873615, PetaboxLoader3.resolve;dur=306.314267, PetaboxLoader3.datanode;dur=99.823486
x-app-server: wwwb-app210
x-ts: 302
x-tr: 521
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 11:07:18 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Mon, 18 Jan 2010 01:42:51 GMT
x-archive-orig-server: Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 mod_python/3.3.1 Python/2.5.2 mod_wsgi/2.5
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 8314
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 18 Jan 2010 01:42:51 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 22 May 2005 01:00:35 GMT", ; rel="prev memento"; datetime="Thu, 17 Dec 2009 18:10:09 GMT", ; rel="memento"; datetime="Mon, 18 Jan 2010 01:42:51 GMT", ; rel="next memento"; datetime="Wed, 20 Jan 2010 09:31:13 GMT", ; rel="last memento"; datetime="Wed, 25 Jun 2025 07:27:48 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20100117205321_crawl103-c/51_13_20100118014220_crawl103.arc.gz
server-timing: captures_list;dur=1.371102, exclusion.robots;dur=0.029448, exclusion.robots.policy;dur=0.012662, esindex;dur=0.011958, cdx.remote;dur=46.478113, LoadShardBlock;dur=341.298621, PetaboxLoader3.datanode;dur=228.304045, PetaboxLoader3.resolve;dur=239.088643, load_resource;dur=134.202145
x-app-server: wwwb-app210
x-ts: 200
x-tr: 573
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
BeginnersGuide/Examples - PythonInfo Wiki
Python Examples and Sample Code
When you're learning, small examples can be very helpful.
UselessPython, a Tutor-inspired site of Python snippets.
The Python Standard Library, an electronically published book by Fredrik Lundh, examines most of the modules in Python's standard library, describing what the module does and giving a short example of its use.
The Python Cookbook, from ActiveState, is a very large collection of code snippets, some elementary and some advanced.
Immutable page (last edited 2008-11-15 14:00:41 by localhost)