CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 15 Jul 2025 12:54:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090515080212
location: https://web.archive.org/web/20090515080212/https://code.activestate.com/recipes/langs/python/
server-timing: captures_list;dur=0.696884, exclusion.robots;dur=0.024422, exclusion.robots.policy;dur=0.011014, esindex;dur=0.013587, cdx.remote;dur=237.910626, LoadShardBlock;dur=785.112611, PetaboxLoader3.datanode;dur=280.872324, PetaboxLoader3.resolve;dur=235.209241
x-app-server: wwwb-app212
x-ts: 302
x-tr: 1091
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app212; 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: Tue, 15 Jul 2025 12:54:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 15 May 2009 07:58:05 GMT
x-archive-orig-server: Apache/2.2.3 (CentOS)
x-archive-orig-expires: Fri, 15 May 2009 07:59:09 GMT
x-archive-orig-vary: Cookie
x-archive-orig-etag: 1a6e2f660c0ca69f8bf0757bd3691990
x-archive-orig-cache-control: max-age=600
x-archive-orig-age: 246
x-archive-orig-content-length: 25383
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: Fri, 15 May 2009 08:02:12 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, 14 May 2009 06:25:36 GMT", ; rel="memento"; datetime="Fri, 15 May 2009 08:02:12 GMT", ; rel="next memento"; datetime="Sat, 20 Jun 2009 00:43:43 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_20090514172609_crawl101-c/52_9_20090515075959_crawl103.arc.gz
server-timing: captures_list;dur=0.621642, exclusion.robots;dur=0.020175, exclusion.robots.policy;dur=0.009658, esindex;dur=0.010423, cdx.remote;dur=77.552942, LoadShardBlock;dur=327.830273, PetaboxLoader3.datanode;dur=277.263104, PetaboxLoader3.resolve;dur=340.205556, load_resource;dur=376.916058
x-app-server: wwwb-app212
x-ts: 200
x-tr: 940
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
-
Reevaluate functions when called, v3Python / annotations, decorator, function, python / by geremy condra (9 hours, 30 minutes ago, revision 3)
-
Reevaluate functions when calledPython / decorator, function, python / 0 points (2 votes) / by geremy condra (1 day, 8 hours ago, revision 2)
-
Drain of Pesticide Solution CalculationPython / no tags / -1 points (1 vote) / by donyo Ganchev (6 days, 23 hours ago)
-
One-way Anova, Kolmogorof-Smirnoff and Kruscal-Wallish CalculationPython / no tags / -2 points (2 votes) / by donyo Ganchev (6 days, 23 hours ago)
-
Quantitative Concentration Ratios CalculationPython / no tags / by donyo Ganchev (6 days, 23 hours ago)
-
LD50 and LD90 CalculationPython / no tags / by donyo Ganchev (6 days, 23 hours ago)
-
Easy Property Creation in PythonPython / class, property, property creation / 1 point (1 vote) / by runsun pan (1 week, 1 day ago, revision 4)
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)
- Atomically execute a block of Pyth… (by Raymond Hettinger)
- Binary floating point summation ac… (by Raymond Hettinger)
- Accounts
- Information
- Using
- Feedback
- ActiveState
© 2008 ActiveState Software. All rights reserved.