CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 19:43:23 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090616234301
location: https://web.archive.org/web/20090616234301/https://wiki.python.org/moin/BeginnersGuide/Examples
server-timing: captures_list;dur=1.056811, exclusion.robots;dur=0.033654, exclusion.robots.policy;dur=0.015255, esindex;dur=0.022754, cdx.remote;dur=26.336124, LoadShardBlock;dur=478.614802, PetaboxLoader3.datanode;dur=363.738228, PetaboxLoader3.resolve;dur=70.963472
x-app-server: wwwb-app220
x-ts: 302
x-tr: 539
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app220; 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: Sat, 19 Jul 2025 19:43:24 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Tue, 16 Jun 2009 23:43:01 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.3
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 8294
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 16 Jun 2009 23:43:01 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, 28 May 2009 16:35:06 GMT", ; rel="memento"; datetime="Tue, 16 Jun 2009 23:43:01 GMT", ; rel="next memento"; datetime="Mon, 29 Jun 2009 13:32:50 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_10_20090616214135_crawl103-c/51_10_20090616234150_crawl103.arc.gz
server-timing: captures_list;dur=0.520000, exclusion.robots;dur=0.019958, exclusion.robots.policy;dur=0.010585, esindex;dur=0.012100, cdx.remote;dur=22.856228, LoadShardBlock;dur=81.994345, PetaboxLoader3.datanode;dur=119.894907, load_resource;dur=367.885275, PetaboxLoader3.resolve;dur=306.259103
x-app-server: wwwb-app220
x-ts: 200
x-tr: 528
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)