CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 19:32:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20071212034243
location: https://web.archive.org/web/20071212034243/https://wiki.python.org/moin/BeginnersGuide/Examples
server-timing: captures_list;dur=1.059838, exclusion.robots;dur=0.048447, exclusion.robots.policy;dur=0.022477, esindex;dur=0.023248, cdx.remote;dur=197.876634, LoadShardBlock;dur=273.364015, PetaboxLoader3.datanode;dur=137.456002, PetaboxLoader3.resolve;dur=49.280383
x-app-server: wwwb-app218
x-ts: 302
x-tr: 617
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app218; 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, 24 Jul 2025 19:32:58 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Wed, 12 Dec 2007 03:42:43 GMT
x-archive-orig-server: Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 12 Dec 2007 03:42:43 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="Tue, 13 Nov 2007 06:35:46 GMT", ; rel="memento"; datetime="Wed, 12 Dec 2007 03:42:43 GMT", ; rel="next memento"; datetime="Fri, 14 Dec 2007 03:14:17 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_1_20071212004722_crawl104-c/51_1_20071212033030_crawl107.arc.gz
server-timing: captures_list;dur=0.847893, exclusion.robots;dur=0.029476, exclusion.robots.policy;dur=0.013249, esindex;dur=0.019908, cdx.remote;dur=34.083325, LoadShardBlock;dur=465.759819, PetaboxLoader3.datanode;dur=297.127146, PetaboxLoader3.resolve;dur=353.403402, load_resource;dur=262.986526
x-app-server: wwwb-app218
x-ts: 200
x-tr: 836
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
BeginnersGuide/Examples
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 2005-12-08 14:06:49 by AndrewKuchling)
DeleteCache (cached 2007-12-03 05:18:44)- Login
- Navigation
- Actions
- Your recent pages