CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 21:23:18 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100131043013
location: https://web.archive.org/web/20100131043013/https://code.activestate.com/recipes/langs/python/
server-timing: captures_list;dur=0.899607, exclusion.robots;dur=0.031572, exclusion.robots.policy;dur=0.015784, esindex;dur=0.017723, cdx.remote;dur=173.364449, LoadShardBlock;dur=386.779411, PetaboxLoader3.datanode;dur=187.843747, PetaboxLoader3.resolve;dur=99.119317
x-app-server: wwwb-app221
x-ts: 302
x-tr: 594
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app221; 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 21:23:19 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Sun, 31 Jan 2010 04:29:38 GMT
x-archive-orig-server: Apache/2.2.3 (CentOS)
x-archive-orig-expires: Sun, 31 Jan 2010 04:39:55 GMT
x-archive-orig-vary: Cookie
x-archive-orig-etag: 27239bd4f73d6fd9a5bae98b58dc8796
x-archive-orig-cache-control: max-age=600
x-archive-orig-age: 35
x-archive-orig-content-length: 27051
x-archive-orig-via: 1.0 box18.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: Sun, 31 Jan 2010 04:30:13 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="Sat, 19 Dec 2009 23:28:40 GMT", ; rel="memento"; datetime="Sun, 31 Jan 2010 04:30:13 GMT", ; rel="next memento"; datetime="Wed, 10 Feb 2010 22:43:17 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_14_20100131040453_crawl103-c/52_14_20100131042922_crawl103.arc.gz
server-timing: captures_list;dur=0.809580, exclusion.robots;dur=0.025082, exclusion.robots.policy;dur=0.011440, esindex;dur=0.011848, cdx.remote;dur=29.782932, LoadShardBlock;dur=299.453501, PetaboxLoader3.datanode;dur=94.998037, PetaboxLoader3.resolve;dur=288.845940, load_resource;dur=140.287638
x-app-server: wwwb-app221
x-ts: 200
x-tr: 581
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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
Python recipes
-
Normalizing pathsPython / absolute path, normalization, normalize, path, paths / by Gustavo Narea (4 days, 5 hours ago, revision 3)
-
Short Enum RecipePython / enum, Python 3.1, quick, short / -2 points (2 votes) / by Stephen Chappell (5 days, 4 hours ago, revision 5)
-
Purge Mysql binary logsPython / automate, binary logs, master-slave, mysql, purge / by Umang Gopani (2 weeks, 4 days ago, revision 8)
View 20, 50, 100 recipes per page.
Python tags
more…algorithms oop text sysadmin shortcuts programs files web network threads database python debugging xml graphics
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)
- Dependency Injection The Python Way (by Zoran Isailovski)
- Atomically execute a block of Pyth… (by Raymond Hettinger)
- Fork a daemon process on Unix (by Jürgen Hermann)
- Creating a daemon the Python way (by Chad J. Schroeder)
- Accounts
- Information
- Using
- Feedback
- ActiveState
© 2009 ActiveState Software. All rights reserved.