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 Trent Mick
Tags:
Recipe 1 to 20 of 28
« Prev
1
2
Next »
28
k
views
5
score
transform command line arguments to args and kwargs for a method call
Python
/
argv
,
cli
,
json
/
by
Trent Mick
(14 years ago, revision 2)
29
k
views
3
score
nicerest: pretty-print JSON output
JavaScript
/
curl
,
json
,
node
,
nodejs
,
rest
/
by
Trent Mick
(13 years ago, revision 3)
37
k
views
3
score
parse a date/time string to a `datetime` instance
Python
/
date
,
datetime
,
parse
,
time
/
by
Trent Mick
(14 years ago, revision 2)
10
k
views
3
score
query yes/no/quit
Python
/
ask
,
cli
,
no
,
query
,
quit
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago)
67
k
views
3
score
a friendly mkdir()
Python
/
sysadmin
/
by
Trent Mick
(14 years ago, revision 4)
13
k
views
2
score
quick 3-column grid CSS
CSS
/
column
,
grid
,
layout
/
by
Trent Mick
(13 years ago)
10
k
views
2
score
node.js quicklog method to log to a file
JavaScript
/
logging
,
nodejs
/
by
Trent Mick
(13 years ago)
28
k
views
2
score
slugify: make a string usable in a URL or filename
Python
/
ascii
,
django
,
filename
,
slug
,
slugify
,
url
/
by
Trent Mick
(13 years ago, revision 2)
38
k
views
2
score
query yes/no
Python
/
ask
,
cli
,
no
,
query
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago, revision 2)
14
k
views
2
score
send a multipart email
Python
/
email
,
multipart
,
smtp
/
by
Trent Mick
(14 years ago, revision 2)
19
k
views
2
score
send a multipart email via gmail's SMTP server
Python
/
email
,
gmail
,
smtp
/
by
Trent Mick
(14 years ago, revision 3)
14
k
views
2
score
download a URL with a console progress meter
Python
/
commandline
,
download
,
url
/
by
Trent Mick
(15 years ago)
20
k
views
2
score
a better assertRaises() for unittest.py
Python
/ no tags /
by
Trent Mick
(15 years ago, revision 2)
10
k
views
1
score
slugify: make a string usable in a URL or filename
JavaScript
/
filename
,
nodejs
,
slug
,
slugify
,
url
/
by
Trent Mick
(12 years ago, revision 2)
41
k
views
1
score
Perl URL encode and decode
Perl
/
decode
,
encode
,
url
/
by
Trent Mick
(13 years ago)
5
k
views
1
score
Using a getter for a one-time calculation of a JavaScript object attribute
JavaScript
/
getter
,
performance
/
by
Trent Mick
(13 years ago)
164
k
views
1
score
subtract or add a month to a datetime.date or datetime.datetime
Python
/
date
,
datetime
,
month
/
by
Trent Mick
(13 years ago)
13
k
views
1
score
Python script main line for graceful exception handling and logging
Python
/
error
,
logging
,
main
,
mainline
,
script
/
by
Trent Mick
(13 years ago, revision 5)
7
k
views
1
score
query
Python
/
ask
,
cli
,
query
,
raw_input
/
by
Trent Mick
(14 years ago)
7
k
views
1
score
command line query
Python
/
ask
,
cli
,
query
,
raw_input
/
by
Trent Mick
(14 years ago, revision 3)
Recipe 1 to 20 of 28
« Prev
1
2
Next »
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the top-rated recipes by Trent Mick
x
Undo