First | Prev | Next | Last
Pages: 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
threading and signals - main thread solely responsible for signal handling?
The main part of my script is a function that does many long reads (urlopen, it's looped). Since I'm hell-bent on employing SIGINFO to display some stats, I needed to run foo() as a seperate thread to avoid getting errno 4 (interrupted system call) errors (which occur if SIGINFO is received while urlopen is setting... 13 Feb 2010 12:39
how do I write a scliceable class?
Hello everybody, I'm designing a container class that supports slicing. The problem is that I don't really know how to do it. class MyClass(object): def __init__(self, input_data): self._data = transform_input(input_data) def __getitem__(self, key): if isinstance(key, slice): # return a slice of se... 13 Feb 2010 12:39
bsddb version mysmatch between win32 and linux
Hi guys, I found an incompatibility in the bsddb library shipped with Python which is a different version between the win32 release and the linux release. This happend using Python 2.6.2 on win32 and OpenSuse 11.2. To reproduce this problem, create a bsddb file under win32 with this code: import shelve f ... 13 Feb 2010 06:02
En Fri, 12 Feb 2010 16:12:37 -0300, joao abrantes <senhor.abrantes(a)gmail.com> escribi�: noone knows if it's possible? i really need this.. On Thu, Feb 4, 2010 at 10:57 PM, joao abrantes <senhor.abrantes(a)gmail.com>wrote: Hello everyone. For example i am using a screen resolution of 800x600 ... 12 Feb 2010 21:20
Helpp I want view page .py on apache WHAT CAN I DO???????????????
Hola! En Fri, 12 Feb 2010 14:34:33 -0300, Juan Carlos Rodriguez <jcquevedo84(a)gmail.com> escribi�: ImportError: No module named mptest Hay una lista en castellano sobre Python: http://python.org.ar/pyar/ListaDeCorreo -- Gabriel Genellina ... 12 Feb 2010 20:13
MemoryError, can I use more?
Dear group: I am developing a program using Python 2.5.4 in windows 32 OS. The amount of data it works with is huge. I have managed to keep memory footprint low, but have found that, independent of the physical RAM of the machine, python always gives the MemoryError message when it has occupied exactly only 2.2 GB. ... 14 Feb 2010 22:56
Configuring apache to execute python scripts using mod_pythonhandler
On Fri, 12 Feb 2010 13:08:59 -0400, Juan Carlos Rodriguez wrote: Hello Juan Carlos, You're better off raising this on the mod_python list, however... Python is looking for a module called mptest, and cannot find it. Have you created the mptest.py module? (It should contain the handler function in your ite... 12 Feb 2010 20:13
Replace various regex
Hi, I am trying to come up with a more generic scheme to match and replace a series of regex, which look something like this... 19.01,16.38,0.79,1.26,1.00 ! canht_ft(1:npft) 5.0, 4.0, 2.0, 4.0, 1.0 ! lai(1:npft) Ideally match the pattern to the right of the "!" sign (e.g. lai), I would then like to... 15 Feb 2010 17:44
ANN: Leo 4.7 rc1 released
Leo 4.7 release candidate 1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106 Leo 4.7 rc 1 fixes all known serious bugs in Leo; minor nits remain. Leo is a text editor, data organizer, project manager and much more. See: http://webpages.charter.net/edreamleo/intro.... 12 Feb 2010 11:09
come and join www.pakdub.com a social network with full features like games, classifieds, forums, blogs and a lot more
come and join www.pakdub.com a social network with full features like games, classifieds, forums, blogs and a lot more ... 11 Feb 2010 18:28