First  |  Prev |  Next  |  Last
Pages: 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
YIELD_VALUE Byte Code
Hi, I am not sure if this is the right newsgroup, so if not don't hesitate to tell me. I am developed a Python to C compiler, so that Byte Code files automatically can be translated into C Extension Modules. (And it works pretty well --> http://www.coremountains.com/products/bytecoat/) While developing, I fou... 18 Nov 2009 01:17
mySQL access speed
Hello, I have some programs doing a lot sql IO in some mySQL databases. This works very fine and the DBAPI is quite simple to understand. Now I came to the point where I had to insert millions of lines into a table. My first aproach was to insert the data using executemany(). That's not bad and fairly simple t... 17 Nov 2009 01:45
SCGIServer and unusal termination
Hi there, I'm playing with SCGIServer (http://vmlinux.org/cgi-bin/dwww/usr/share/doc/python-scgi/guide.html), everything works just fine, but one thing bothers me. All prints after try-except block are executed twice after the Ctrl+C is pressed! test.py: #------------------------- from scgi.scgi_server im... 19 Nov 2009 12:49
Code for finding the 1000th prime
I am absolutely new to python and barely past beginner in programming. Also I am not a mathematician. Can some one give me pointers for finding the 1000th. prime for a course I am taking over the internet on Introduction to Computer Science and Programming. Thanks, Ray ... 17 Nov 2009 16:18
ANN: PyGUI 2.1
PyGUI 2.1 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ Highlights of this version: * Win32: Fixed bug preventing PyGUI apps from working under pythonw Fixed incorrect mouse coordinates in ScrollableView Added more standard cursors * MacOSX: Application menu now has workin... 17 Nov 2009 18:34
python-daemon and upstart
Paul Rudin <paul.nospam(a)rudin.co.uk> writes: I'm experimenting with the daemon module <http://pypi.python.org/pypi/python-daemon/> and upstart <http://upstart.ubuntu.com/>. First: Thank you for using 'python-daemon'; it's getting more widespread use all the time, which is really helping to find all the q... 14 Nov 2009 15:33
The ol' [[]] * 500 bug...
....just bit me in the "fuzzy posterior". The best I can come up with is the hideous lol = [[] for _ in xrange(500)] Is there something better? What did one do before comprehensions were available? I suppose in that case one would have to go all the way with lol = [None] * 500 for i in xrang... 14 Nov 2009 13:19
run all scripts in sub-directory as subroutines?
This works fine, but in the sub-modules the sys.path appropriately returns the same as from the parent, I want them to know their own file names. How?? I can pass it to them, but wondered if there is a more self-sufficient way for a module to know from where it was invoked. I like the idea of passing th... 14 Nov 2009 11:07
Choosing GUI Module for Python
-----Original Message----- From: catalinfest(a)gmail.com [mailto:catalinfest(a)gmail.com] Sent: 13 November 2009 10:06 AM To: python-list(a)python.org Subject: Re: Choosing GUI Module for Python Tkinter is deafult on python . Is more easy to use any editor text (geany). I don?t see a good IDE for GUI On Nov 9, 6:4... 17 Nov 2009 11:43
Psyco on 64-bit machines
I have a Python program that runs too slow for some inputs. I would like to speed it up without rewriting any code. Psyco seemed like exactly what I need, until I saw that it only works on a 32-bit architecture. I work in an environment of Sun Ultras that are all 64- bit. However, the Psyco docs say this: "Psyco... 16 Nov 2009 09:01
First  |  Prev |  Next  |  Last
Pages: 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237