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
Most viewed recipes by Trent Mick
Tags:
Recipe 1 to 20 of 28
« Prev
1
2
Next »
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)
67
k
views
3
score
a friendly mkdir()
Python
/
sysadmin
/
by
Trent Mick
(14 years ago, revision 4)
41
k
views
1
score
Perl URL encode and decode
Perl
/
decode
,
encode
,
url
/
by
Trent Mick
(13 years ago)
38
k
views
2
score
query yes/no
Python
/
ask
,
cli
,
no
,
query
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago, revision 2)
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)
34
k
views
1
score
printing a banner/title line
Python
/
text
/
by
Trent Mick
(13 years ago)
29
k
views
3
score
nicerest: pretty-print JSON output
JavaScript
/
curl
,
json
,
node
,
nodejs
,
rest
/
by
Trent Mick
(13 years ago, revision 3)
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)
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)
20
k
views
2
score
a better assertRaises() for unittest.py
Python
/ no tags /
by
Trent Mick
(15 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
send a multipart email
Python
/
email
,
multipart
,
smtp
/
by
Trent Mick
(14 years ago, revision 2)
14
k
views
2
score
download a URL with a console progress meter
Python
/
commandline
,
download
,
url
/
by
Trent Mick
(15 years ago)
14
k
views
0
score
quick Python profiling with hotshot
Python
/
hotshot
,
performance
,
profile
/
by
Trent Mick
(15 years ago, revision 2)
13
k
views
1
score
import ElementTree from everywhere
Python
/
xml
/
by
Trent Mick
(17 years ago, revision 4)
13
k
views
2
score
quick 3-column grid CSS
CSS
/
column
,
grid
,
layout
/
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)
10
k
views
0
score
touch
Python
/
file
,
shell
,
touch
,
unix
/
by
Trent Mick
(14 years ago)
10
k
views
3
score
query yes/no/quit
Python
/
ask
,
cli
,
no
,
query
,
quit
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago)
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)
Recipe 1 to 20 of 28
« Prev
1
2
Next »
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the most viewed recipes by Trent Mick
Top-rated recipes
transform command line arguments t…
(Python)
nicerest: pretty-print JSON output
(JavaScript)
parse a date/time string to a `dat…
(Python)
query yes/no/quit
(Python)
a friendly mkdir()
(Python)
quick 3-column grid CSS
(CSS)
node.js quicklog method to log to …
(JavaScript)
slugify: make a string usable in a…
(Python)
query yes/no
(Python)
send a multipart email
(Python)
x
Undo