CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 14:55:41 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100623030823
location: https://web.archive.org/web/20100623030823/https://code.activestate.com/recipes/langs/python/
server-timing: captures_list;dur=0.497080, exclusion.robots;dur=0.019342, exclusion.robots.policy;dur=0.008676, esindex;dur=0.010058, cdx.remote;dur=43.458898, LoadShardBlock;dur=540.854108, PetaboxLoader3.resolve;dur=264.921114, PetaboxLoader3.datanode;dur=173.952965
x-app-server: wwwb-app210
x-ts: 302
x-tr: 632
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: Sat, 19 Jul 2025 14:55:42 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Wed, 23 Jun 2010 03:08:22 GMT
x-archive-orig-server: Apache/2.2.3 (CentOS)
x-archive-orig-vary: Cookie
x-archive-orig-etag: "5af3422800df4902e78f2ee3cfeddbc7"
x-archive-orig-cache-control: max-age=60
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 23 Jun 2010 03:08:23 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 18 Jul 2008 02:31:10 GMT", ; rel="prev memento"; datetime="Tue, 15 Jun 2010 02:47:45 GMT", ; rel="memento"; datetime="Wed, 23 Jun 2010 03:08:23 GMT", ; rel="next memento"; datetime="Sun, 26 May 2013 09:03:08 GMT", ; rel="last memento"; datetime="Sun, 08 Jun 2025 08:39:37 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: 52_16_20100623004223_crawl102-c/52_16_20100623030708_crawl103.arc.gz
server-timing: captures_list;dur=0.693653, exclusion.robots;dur=0.029586, exclusion.robots.policy;dur=0.013933, esindex;dur=0.016039, cdx.remote;dur=116.483584, LoadShardBlock;dur=223.592237, PetaboxLoader3.datanode;dur=115.661414, PetaboxLoader3.resolve;dur=168.629171, load_resource;dur=134.687686
x-app-server: wwwb-app210
x-ts: 200
x-tr: 622
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=2
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
Popular Python recipes « ActiveState Code
Python Versions
Popular Python recipes
Tags: 





-
1kviews0Simple regex engine, elementary PythonscorePython / cached, parse, parsing, recursion, regular_expressions / by Joost Behrends (8 hours ago, revision 38)
-
765views0Find Prime Numbers in pythonscorePython / algorithm, algorithms, primality_testing, prime, primes, prime_generator, prime_number / by Giannis Fysakis (1 week ago, revision 2)
View popular, latest, top-rated or most viewed
Feed of the popular Python recipes
Python Versions 
Top-rated recipes
- Decorator for BindingConstants at … (Python)
- Infix operators (Python)
- Named Tuples (Python)
- Spreadsheet (Python)
- Groupby (Python)
- Read tabular data from Excel sprea… (Python)
- Dependency Injection The Python Way (Python)
- Atomically execute a block of Pyth… (Python)
- Creating a daemon the Python way (Python)
- Send an HTML email with embedded i… (Python)
Python tags
more…algorithms cgi database debugging decorator extending files graphics math network oop programs search shortcuts sysadmin text threads ui web xml
Accounts
Feedback & Information
ActiveState
x