CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 23:15:12 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090817124059
location: https://web.archive.org/web/20090817124059/https://code.activestate.com/recipes/langs/python/
server-timing: captures_list;dur=0.593312, exclusion.robots;dur=0.020741, exclusion.robots.policy;dur=0.010155, esindex;dur=0.010150, cdx.remote;dur=5.927337, LoadShardBlock;dur=172.203841, PetaboxLoader3.datanode;dur=81.371237
x-app-server: wwwb-app211
x-ts: 302
x-tr: 205
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app211; 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 23:15:13 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Mon, 17 Aug 2009 12:40:42 GMT
x-archive-orig-server: Apache/2.2.3 (Red Hat)
x-archive-orig-expires: Mon, 17 Aug 2009 12:50:43 GMT
x-archive-orig-vary: Cookie
x-archive-orig-etag: 93947c186df2f66e33bbbce111efa3d0
x-archive-orig-cache-control: max-age=600
x-archive-orig-age: 17
x-archive-orig-content-length: 26653
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: Mon, 17 Aug 2009 12:40:59 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="Sun, 05 Jul 2009 00:27:21 GMT", ; rel="memento"; datetime="Mon, 17 Aug 2009 12:40:59 GMT", ; rel="next memento"; datetime="Mon, 19 Oct 2009 22:12:18 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_11_20090817093622_crawl103.gpg-c/52_11_20090817124041_crawl103.arc.gz
server-timing: captures_list;dur=0.529805, exclusion.robots;dur=0.018971, exclusion.robots.policy;dur=0.009382, esindex;dur=0.011491, cdx.remote;dur=198.048230, LoadShardBlock;dur=221.130291, PetaboxLoader3.datanode;dur=178.915055, PetaboxLoader3.resolve;dur=262.577832, load_resource;dur=276.890611
x-app-server: wwwb-app211
x-ts: 200
x-tr: 772
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
-
Convert datetime in python to user friendly representation.Python / ago, datetime, parse, python, representation, string, user-friendly / -1 points (1 vote) / by Jai Vikram Singh Verma (2 days, 4 hours ago)
-
Accessing DCOP servicesPython / dcop, interprocess communication, kde, System / by Yuce Tekol (3 days, 22 hours ago, revision 2)
-
Patch extension binaries compiled for previous (different) Python versionPython / binaries, dll, patch, precompiled, PYD, windows / by Denis Barmenkov (1 week ago, revision 4)
-
Exception handling in a single linePython / exception, expression, function, list comprehension, python, wrapper / 1 point (3 votes) / by Radek Szklarczyk (1 week ago, revision 15)
-
Creating fake data using numpyPython / data, fake, gaussian, graph, histogram, normal, sample data / by tat.wright (1 week, 2 days ago)
-
Longest common subsequence problem solverPython / algorithm, decorator, LCS, Longest common subsequence / by Shao-chuan Wang (1 week, 3 days ago, revision 2)
-
Shutdown your PC by using ctypes (Win32 Platform)Python / ctypes, Reboot, Shutdown, System Programming, Win32 / 2 points (2 votes) / by Shao-chuan Wang (1 week, 6 days ago)
-
Docstring inheritance decoratorPython / decorator, descriptor, docstring, inheritance, metaprogramming / 1 point (1 vote) / by Shai Berger (2 weeks, 5 days ago)
-
Recursively querying for registry subkeysPython / RegDeleteTree, registry, substitute, win32api / by Heinz Hermann (2 weeks, 6 days ago, revision 2)
-
Components and Abilities (different implementation of Component architecture)Python / abc, ability, abstract base class, component, descriptor, dynamic, interface, plugin / by Danny G (3 weeks, 3 days ago, revision 6)
View 20, 50, 100 recipes per page.
Python tags
more…algorithms oop text sysadmin shortcuts programs files web network threads database debugging python 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)
- Creating a daemon the Python way (by Chad J. Schroeder)
- 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)
- Binary floating point summation ac… (by Raymond Hettinger)
- Accounts
- Information
- Using
- Feedback
- ActiveState
© 2009 ActiveState Software. All rights reserved.