KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
python-2.x
45 questions
Follow Tag
Sort by:
Newest
Votes
Active
12
votes
3
answers
Invalid syntax python starred expressions
python
python-2.x
iterable-unpacking
asked 2013-05-15T11:17:02.057
48
votes
3
answers
Is there a convenient way to apply a lookup table to a large array in numpy?
arrays
numpy
python-2.x
lookup-tables
asked 2013-01-21T23:01:40.350
115
votes
5
answers
String formatting in Python 3
python
python-3.x
string
formatting
python-2.x
asked 2012-12-19T04:53:32.193
19
votes
3
answers
Ideal Way to Create a Python "Library"
python
python-2.x
asked 2012-08-12T05:37:13.267
8
votes
5
answers
What is a good pythonic way of finding duplicate objects?
python
sorting
python-2.x
asked 2012-04-20T14:03:20.110
13
votes
2
answers
How to decode the gzip compressed data returned in a HTTP Response in python?
python
sockets
http
python-2.x
zlib
asked 2012-03-18T20:30:09.347
52
votes
1
answers
How to overload Python's __bool__ method in 2.x?
python
methods
overloading
python-2.x
magic-methods
asked 2012-01-18T12:14:37.447
8
votes
3
answers
Asynchronous background processes with web2py
python
asynchronous
web2py
python-2.x
asked 2011-12-29T13:20:04.907
14
votes
3
answers
urllib2 try and except on 404
python
exception
urllib2
python-2.x
asked 2011-11-24T20:40:18.510
31
votes
2
answers
How does python compare functions?
sorting
python-2.x
asked 2011-10-29T23:30:22.147
17
votes
4
answers
Python ConfigParser interpolation from foreign section
python
python-2.7
python-2.x
configparser
python-2.4
asked 2011-09-30T01:35:22.790
11
votes
2
answers
Is "backporting" Python 3's `range` to Python 2 a bad idea?
python
python-3.x
python-2.x
asked 2011-09-21T22:29:53.217
32
votes
3
answers
In Python, None evaluates to less than zero?
python
python-2.x
asked 2011-09-12T05:51:36.647
14
votes
19
answers
Taking multiple integers on the same line as input from the user in python
python
python-2.x
asked 2011-09-11T12:12:47.073
33
votes
2
answers
How to implement different levels for specific modules in Python
logging
module
python-2.x
asked 2011-08-29T18:29:10.117
16
votes
2
answers
Why does pickle protocol 2 let me serialise an open file object?
python
pickle
python-2.x
asked 2011-08-18T12:28:39.963
54
votes
3
answers
How do I properly override __setattr__ and __getattribute__ on new-style classes in Python?
python
python-3.x
inheritance
python-2.x
setattr
asked 2011-08-12T15:10:14.080
12
votes
4
answers
Getting python to print in UTF8 on Windows XP with the console
python
windows
unicode
utf-8
python-2.x
asked 2011-08-10T16:34:19.887
87
votes
1
answers
Open the file in universal-newline mode using the CSV Django module
django
macos
csv
newline
python-2.x
asked 2011-07-17T21:37:56.077
11
votes
4
answers
How to verify in pycrypto signature created by openssl?
python
openssl
python-2.x
pycrypto
asked 2011-06-14T20:55:34.820
50
votes
11
answers
Python: min(None, x)
python
python-2.x
asked 2011-06-06T16:09:17.417
21
votes
9
answers
Determining whether an value is a whole number in Python
python
python-2.x
asked 2011-06-04T23:17:37.733
51
votes
8
answers
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: invalid data
python
unicode
python-2.x
asked 2011-05-30T20:28:58.210
30
votes
4
answers
What is the correct way to extend a parent class method in Python 2.x
inheritance
python-2.x
asked 2011-05-20T10:29:51.853
255
votes
8
answers
Writing Unicode text to a text file?
python
unicode
character-encoding
python-2.x
asked 2011-05-18T16:39:46.693
57
votes
8
answers
How do I prevent a C shared library to print on stdout in python?
python
ctypes
python-2.x
asked 2011-02-22T17:32:35.370
86
votes
10
answers
Python unexpected EOF while parsing
python
eof
python-2.x
asked 2011-02-22T05:04:33.060
10
votes
4
answers
Why does input() give a SyntaxError when I just press enter?
python
python-2.x
asked 2011-02-17T06:53:52.060
58
votes
6
answers
Why doesn't exec work in a function with a subfunction?
exec
python-2.x
asked 2010-12-19T20:13:00.517
12
votes
3
answers
Logging in Python with Config File - Using handlers defined in file through code
python
logging
python-2.x
asked 2010-12-07T10:32:31.753
12
votes
6
answers
Python: Is there a way to keep an automatic conversion from int to long int from happening?
performance
integer
python-2.x
long-integer
asked 2010-12-06T00:55:18.023
33
votes
3
answers
How do I specify a range of unicode characters
regex
unicode
python-2.x
asked 2010-10-01T01:18:32.830
22
votes
3
answers
Is there a description of how __cmp__ works for dict objects in Python 2?
python
python-2.x
asked 2010-08-14T17:05:53.847
179
votes
10
answers
Why doesn't print work in a lambda?
python
printing
lambda
python-2.x
asked 2010-06-04T00:58:26.900
14
votes
4
answers
Identifying that a variable is a new-style class in Python?
python
class
python-2.x
asked 2010-04-16T16:33:33.227
130
votes
18
answers
Getting SyntaxError for print with keyword argument end=' '
python
python-2.x
asked 2010-03-16T16:26:54.110
12
votes
3
answers
Returning the first N characters of a unicode string
python
unicode
python-2.x
asked 2010-01-28T10:56:23.103
34
votes
5
answers
Why does assigning to True/False not work as I expect?
python
python-2.x
asked 2010-01-13T07:12:47.620
13
votes
5
answers
Python long filename support broken in Windows
python
windows
python-2.x
asked 2009-09-02T04:15:52.110
46
votes
3
answers
Python 2 CSV writer produces wrong line terminator on Windows
python
windows
csv
python-2.x
line-endings
asked 2009-07-23T07:34:11.667
13
votes
5
answers
Why are 008 and 009 invalid keys for Python dicts?
python
dictionary
python-2.x
asked 2009-06-14T02:12:20.650
169
votes
22
answers
Is it possible to have multiple statements in a python lambda expression?
python
python-2.x
asked 2009-05-14T09:31:34.143
102
votes
9
answers
Changing user agent on urllib2.urlopen
python
urllib2
python-2.x
user-agent
asked 2009-04-29T12:32:36.437
112
votes
10
answers
Can't get Python to import from a different folder
python
python-2.x
asked 2009-01-19T03:53:35.637
465
votes
12
answers
Should you always favor xrange() over range()?
range
python-2.x
xrange
asked 2008-09-25T18:24:37.893