Skip to Search
Skip to Navigation
Skip to Content
Community
|
Code
|
Docs
|
Downloads
▼
Perl
Python
Tcl
Komodo IDE
|
more
▼
Lists
Support
PPM Index
PyPM Index
Welcome, guest
|
Sign In
|
My Account
|
Store
|
Cart
ActiveState Code
»
Recipes
Languages
Tags
Authors
Sets
Top-rated recipes by Ben Hoyt
Tags:
68
k
views
4
score
Encode multipart form data for uploading files via POST
Python
/
form
,
http
,
multipart
,
upload
/
by
Ben Hoyt
(10 years ago)
40
k
views
3
score
Pluralize word -- convert singular word to its plural form
Python
/
plural
,
pluralize
,
singular
,
word
/
by
Ben Hoyt
(12 years ago)
18
k
views
2
score
Get memory usage of Windows processes using GetProcessMemoryInfo (via ctypes)
Python
/
ctypes
,
memory
,
process
,
win32
,
windows
/
by
Ben Hoyt
(10 years ago)
8
k
views
2
score
Function that supports dividing timedelta by float
Python
/
datetime
,
division
,
float
/
by
Ben Hoyt
(11 years ago)
11
k
views
1
score
Wrap a string in a file-like object that calls a user callback whenever read() is called on the stream
Python
/
callback
,
file
,
progress
,
upload
/
by
Ben Hoyt
(10 years ago)
22
k
views
1
score
Round number to specified number of significant digits
Python
/
decimalplaces
,
round
,
rounding
,
significantfigures
/
by
Ben Hoyt
(11 years ago)
17
k
views
1
score
Get user's IP address even when they're behind a proxy
Python
/
address
,
cgi
,
ip
,
web
,
webpy
/
by
Ben Hoyt
(12 years ago)
15
k
views
1
score
Win32 named mutex class for system-wide mutex
Python
/
ctypes
,
lock
,
mutex
,
process
,
threading
,
win32
,
windows
/
by
Ben Hoyt
(12 years ago)
5
k
views
1
score
Prints full name of all occurrences of given filename in your PATH
Python
/
filename
,
find
,
path
,
which
/
by
Ben Hoyt
(14 years ago)
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the top-rated recipes by Ben Hoyt
x
Undo