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 tagged "shortcuts"
Tags:
shortcuts
x
Recipe 21 to 40 of 138
« Prev
1
2
3
4
5
6
7
Next »
13
k
views
3
score
Using reduce to access deeply nested dictionaries
Python
/
shortcuts
/
by
Robin Bryce
(17 years ago, revision 4)
15
k
views
3
score
Invert a dictionary where values are lists (one-liner)
Python
/
shortcuts
/
by
Arkady Pogostkin
(18 years ago)
30
k
views
3
score
Basic Exception handling idiom using decorators
Python
/
shortcuts
/
by
Anand
(18 years ago, revision 2)
9
k
views
3
score
Substitute Decimals for floats in expressions
Python
/
shortcuts
/
by
Raymond Hettinger
(18 years ago, revision 5)
11
k
views
3
score
Merge sorted sequences
Python
/
shortcuts
/
by
Raymond Hettinger
(19 years ago, revision 2)
8
k
views
3
score
Clean up __init__() methods that contain only attribute assignments.
Python
/
shortcuts
/
by
Peter Otten
(19 years ago)
32
k
views
3
score
Some python style switches
Python
/
shortcuts
/
by
Runsun Pan
(19 years ago, revision 6)
24
k
views
2
score
namedtuple.abc - abstract base class + mix-in for named tuples
Python
/
abc
,
collections
,
dry
,
inheritance
,
namedtuple
,
shortcuts
/
by
Jan Kaliszewski
(13 years ago, revision 7)
9
k
views
2
score
PyGoogle
Python
/
shortcuts
/
by
Erik Anderson
(15 years ago)
9
k
views
2
score
RedirectedIO context manager and redirect_io decorator
Python
/
shortcuts
/
by
Eduardo Padoan
(16 years ago, revision 5)
30
k
views
2
score
Simple calls to Python functions from command line or shortcut
Python
/
shortcuts
/
by
Jack Trainor
(15 years ago, revision 3)
12
k
views
2
score
A generator for an arbitrary number of 'for' loops
Python
/
shortcuts
/
by
Colin Gillespie
(17 years ago)
7
k
views
2
score
RICHVALUE: Extra return values in transparent style
Python
/
shortcuts
/
by
R K
(17 years ago, revision 3)
9
k
views
2
score
exceptional & final: Functional exception handling
Python
/
shortcuts
/
by
R K
(17 years ago, revision 2)
12
k
views
2
score
reducipes: Excuses to use the reduce built-in
Python
/
shortcuts
/
by
Brian Beck
(18 years ago, revision 2)
26
k
views
2
score
Dictionary with attribute-style access
Python
/
shortcuts
/
by
Keith Dart
(18 years ago)
9
k
views
2
score
switch replacement method for long if-else blocks
Python
/
shortcuts
/
by
Kiran Pashikanti
(18 years ago)
5
k
views
2
score
Boolean operations beyond the limit
Python
/
shortcuts
/
by
Javier Burroni
(18 years ago)
7
k
views
2
score
First and last item access with predicates to increase expressiveness
Python
/
shortcuts
/
by
Brian Beck
(18 years ago, revision 2)
5
k
views
2
score
FunctionDecorators
Python
/
shortcuts
/
by
Shannon -jj Behrens
(19 years ago, revision 2)
Recipe 21 to 40 of 138
« Prev
1
2
3
4
5
6
7
Next »
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the top-rated recipes tagged "shortcuts"
Related tags
+
−
abc
+
−
collections
+
−
command
+
−
dispatcher
+
−
dry
+
−
expression
+
−
inheritance
+
−
math
+
−
microblogging
+
−
namedtuple
+
−
solver
+
−
subclass
+
−
sysadmin
+
−
tornado
+
−
twitter
+
−
url
+
−
web
+
−
windows
+
−
wrapper
x
Undo