CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 10:55:41 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090418192956
location: https://web.archive.org/web/20090418192956/https://code.activestate.com/recipes/langs/python/
server-timing: captures_list;dur=1.788413, exclusion.robots;dur=0.021033, exclusion.robots.policy;dur=0.010429, esindex;dur=0.011224, cdx.remote;dur=17.797714, LoadShardBlock;dur=271.807658, PetaboxLoader3.datanode;dur=110.704970, PetaboxLoader3.resolve;dur=49.314070
x-app-server: wwwb-app220
x-ts: 302
x-tr: 321
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: Wed, 16 Jul 2025 10:55:42 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Sat, 18 Apr 2009 19:29:56 GMT
x-archive-orig-server: Apache/2.2.3 (CentOS)
x-archive-orig-expires: Sat, 18 Apr 2009 19:37:17 GMT
x-archive-orig-vary: Cookie
x-archive-orig-etag: beb60afbd0f434b88b0f361b06b25034
x-archive-orig-cache-control: max-age=600
x-archive-orig-via: 1.0 box19.activestate.com:3129 (squid/2.6.STABLE21)
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 18 Apr 2009 19:29:56 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="Thu, 16 Apr 2009 02:21:02 GMT", ; rel="memento"; datetime="Sat, 18 Apr 2009 19:29:56 GMT", ; rel="next memento"; datetime="Thu, 14 May 2009 06:25:36 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_9_20090418175931_crawl100-c/52_9_20090418192457_crawl103.arc.gz
server-timing: captures_list;dur=0.722716, exclusion.robots;dur=0.028120, exclusion.robots.policy;dur=0.013843, esindex;dur=0.014566, cdx.remote;dur=33.411583, LoadShardBlock;dur=417.318465, PetaboxLoader3.datanode;dur=169.909734, PetaboxLoader3.resolve;dur=333.786245, load_resource;dur=133.902719
x-app-server: wwwb-app220
x-ts: 200
x-tr: 666
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
Python Recipes « ActiveState Code
ActiveState Code
Python recipes
-
Calculations with error propagation, and semi-formal expressionsPython / calculus, error propagation, expressions, formal calculations, lazy evaluation, uncertainties / by Eric O. LEBIGOT (8 hours ago, revision 6)
-
lazy propertyPython / evaluation, lazy, lazy evaluation / 1 point (1 vote) / by Sridhar Ratnakumar (1 day, 20 hours ago, revision 5)
-
Create SHA Hashes of a DirectoryPython / encryption, Hash, security, SHA / -2 points (2 votes) / by andrew.canit (4 days, 4 hours ago, revision 2)
-
Extract a compressed filePython / no tags / 1 point (1 vote) / by Sridhar Ratnakumar (1 week, 2 days ago, revision 2)
-
Multi-Regex: Single pass replace of multiple regexesPython / Regular expressions, string substitution / -1 points (1 vote) / by Michael Palmer (2 weeks ago, revision 5)
-
Parallel mapPython / algorithm, map, parallel / -2 points (2 votes) / by Miki Tebeka (2 weeks, 1 day ago, revision 3)
-
DVM_Versus_CAPMPython / Corporate_Finance, Financial_Management / -2 points (4 votes) / by Fouad Teniou (2 weeks, 3 days ago, revision 3)
-
Long period random number generatorPython / no tags / 1 point (3 votes) / by Raymond Hettinger (2 weeks, 3 days ago, revision 12)
-
Serve static web content from within a gzipped tarball to save space using CherryPyPython / cherrypy, compression, embedded, gzip, html, http, network, routes, web, web server / 1 point (1 vote) / by Dan McDougall (2 weeks, 3 days ago)
-
pyGTK threadingPython / pygtk, threading / -1 points (1 vote) / by oohay_email2004 (2 weeks, 3 days ago, revision 2)
-
Python code minifierPython / compression, embedded, minify, parsing, regex / 2 points (4 votes) / by Dan McDougall (3 days, 19 hours ago, revision 11)
View 20, 50, 100 recipes per page.
Python tags
more…algorithms oop text sysadmin shortcuts programs files web network threads database debugging xml graphics extending
Top-rated Python recipes
- Decorator for BindingConstants at … (by Raymond Hettinger)
- Infix operators (by Ferdinand Jamitzky)
- Named Tuples (by Raymond Hettinger)
- Spreadsheet (by Raymond Hettinger)
- Groupby (by Raymond Hettinger)
- Read tabular data from Excel sprea… (by Nicolas Lehuen)
- Creating a daemon the Python way (by Chad J. Schroeder)
- Dependency Injection The Python Way (by Zoran Isailovski)
- Binary floating point summation ac… (by Raymond Hettinger)
- Module to allow Asynchronous subpr… (by Josiah Carlson)
- Accounts
- Information
- Using
- Feedback
- ActiveState
© 2008 ActiveState Software. All rights reserved.