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 "meta:loc=1"
Tags:
meta:loc=1
x
Recipe 1 to 20 of 30
« Prev
1
2
Next »
24
k
views
7
score
Atomically execute a block of Python statements
Python
/ no tags /
by
Raymond Hettinger
(12 years ago, revision 3)
9
k
views
5
score
One-liner to show the caller of the current function.
Python
/
_getframe
/
by
Oren Tirosh
(11 years ago)
12
k
views
4
score
Simple decorator with arguments
Python
/ no tags /
by
Peter Hunt
(18 years ago)
7
k
views
2
score
primeList
Python
/
list
,
numbers
,
prime
,
primelist
,
primes
,
theory
/
by
Alexander James Wallar
(12 years ago, revision 3)
6
k
views
2
score
null null
C
/
null
/
by
Joe Smith
(10 years ago, revision 2)
10
k
views
2
score
Reduce memory usage of "re" module
Python
/
debugging
/
by
Dirk Holtwick
(18 years ago)
14
k
views
1
score
Python one-liner to compare two files
Python
/
comparison
,
file
,
files
,
programming
,
python
/
by
Vasudev Ram
(8 years ago)
4
k
views
1
score
Get external IP & geolocation in bash.
Bash
/
bash
,
geocoding
,
geolocation
/
by
manu
(9 years ago, revision 2)
3
k
views
1
score
PPM
Django HTML Template
/ no tags /
by
Ruel Print
(10 years ago)
22
k
views
1
score
Get multiple elements from a list
Python
/
get
,
getvar
,
list
,
python
,
retrieve
,
retrieving
/
by
Alexander James Wallar
(12 years ago)
50
k
views
1
score
Find Multiple Elements In a List
Python
/
enumerate
,
find
,
list
,
search
,
search_list
/
by
Alexander James Wallar
(12 years ago)
4
k
views
1
score
null null
Python
/
null
/
by
Joe Smith
(10 years ago, revision 4)
10
k
views
1
score
a more reliable DOCUMENT_ROOT
PHP
/
web
/
by
Gui R
(15 years ago)
6
k
views
1
score
null null
C++
/
null
/
by
Joe Smith
(10 years ago, revision 2)
6
k
views
1
score
Shrink pygtk window
Python
/ no tags /
by
Dima Tisnek
(16 years ago)
13
k
views
1
score
How to tell if it's currently Daylight Savings Time
Python
/
sysadmin
/
by
Doug Fort
(21 years ago)
15
k
views
1
score
LZ77 compression
Python
/
algorithms
/
by
Nelson Rush
(11 years ago, revision 4)
26
k
views
1
score
Swapping values without using a temporary variable
Python
/
shortcuts
/
by
Hamish Lawson
(22 years ago, revision 2)
6
k
views
1
score
Change image properties
Python
/
web
/
by
Mikhail Kashkin
(21 years ago, revision 2)
5
k
views
0
score
tic
Python
/ no tags /
by
YasGon
(7 years ago, revision 2)
Recipe 1 to 20 of 30
« Prev
1
2
Next »
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the top-rated recipes tagged "meta:loc=1"
Related tags
+
−
null
(4)
+
−
list
(3)
+
−
prime
(2)
+
−
python
(2)
+
−
web
(2)
+
−
_getframe
(2)
+
−
algorithms
+
−
bash
+
−
code
+
−
comparison
+
−
debugging
+
−
ebooks
+
−
elementtree
+
−
enumerate
+
−
file
+
−
files
+
−
find
+
−
geocoding
+
−
geolocation
+
−
get
x
Undo