python-2.5 Questions
3
I'm working on a regex to to collect some values from a page through some script. I'm using re.match in condition but it returns false but if i use finditer it returns true and body of condition is...
Sibell asked 10/1, 2011 at 12:39
1
Solved
Is there a way I can make class decorators work on Google App Engine, which is limited to Python 2.5?
Or let me rephrase that: is it possible to alter the behavior of Python's parser from the same...
Bin asked 29/11, 2010 at 19:47
2
Solved
I have python .egg files that are stored in a relative location to some .py code. The problem is, I am targeting python 2.5.1 computers which require my project be self contained in a folder (hundr...
Croak asked 10/8, 2009 at 2:40
1
Solved
Apparently Python only supports 2 minor versions (like 2.X), so that would mean Python 2.5 would get phased out when Python 2.7 comes out (in June 2010?)
Is this correct? PEP 356 -- Python 2.5 Rel...
Phallus asked 2/5, 2010 at 19:59
3
Solved
I have a python (2.5.4) script which I run in cygwin (in a DOS box on Windows XP). I want to include a pound sign (£) in the output. If I do so, I get this error:
SyntaxError: Non-ASCII character ...
Lauds asked 1/4, 2009 at 13:18
3
Solved
The official Python 2.5 on Windows was build with Visual Studio.Net 2003, which uses 32 bit time_t. So when the year is > 2038, it just gives exceptions.
Although this is fixed in Python 2.6 (whic...
Intransigent asked 8/5, 2009 at 13:19
3
Solved
Python 2.6+ and 3.* have next(), but pre-2.6 only offers the object.next method. Is there a way to get the next() style in pre-2.6; some "def next():" construction perhaps?
Hostelry asked 11/11, 2009 at 16:35
1
Solved
I am trying to create a Python dictionary from a stored list. This first method works
>>> myList = []
>>> myList.append('Prop1')
>>> myList.append('Prop2')
>>> m...
Dulosis asked 23/10, 2009 at 19:42
6
Solved
I would like to use Python 2.6's version of subprocess, because it allows the Popen.terminate() function, but I'm stuck with Python 2.5. Is there some reasonably clean way to use the newer version ...
Bobbysoxer asked 16/2, 2009 at 6:41
3
Solved
i am new to python, on my Mac, when i issue command
User:ihasfriendz user$ python main.py
Traceback (most recent call last):
File "main.py", line 2, in <module>
import json
ImportError: No...
Hoy asked 7/9, 2009 at 12:19
4
Solved
I'm trying to use a Python library written in C that has no documentation of any kind. I want to use introspection to at least see what methods and classes are in the modules. Does somebody have a ...
Chenay asked 15/8, 2009 at 0:13
4
Solved
I'm used to ending the python interactive interpreter using Ctrl-d using Linux and OS X. On windows though, you have to use CTRL+Z and then enter. Is there any way to use CTRL+D?
Percale asked 10/6, 2009 at 16:40
4
Solved
I have a text file with a lot of datetime strings in isoformat. The strings are similar to this:
'2009-02-10 16:06:52.598800'
These strings were generated using str(datetime_object). The problem i...
Boy asked 10/2, 2009 at 5:35
© 2022 - 2024 — McMap. All rights reserved.