First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
Book review / advise
Hello, I wonder if anyone read this: or this: Are these books just a print out of ... 23 Jun 2010 13:57
xmlrpclib and errcode -1
I have a xmlrpc server and client running on same Windows computer. The server is part of a bigger program and client is a Cherrypy application that provides a http interface to this program. Problem is that sometimes (1 out of 100) I get xmlrpc ProtocolError without no apparent reason. The server receives the mess... 22 Jun 2010 09:21
Second attempt WAS: From Dict to Classes yes or no and how
> On Tue, Jun 22, 2010 at 9:32 PM, Jerry Rocteur <macosx(a)> wrote: If you were able to ask us perhaps a more specific question and describe your problem a little more concisely perhaps I (and we) might have a bit more to offer you. I have a dictionary: users[key] = { 'user' : key, ... 22 Jun 2010 08:15
From Dict to Classes yes or no and how
Hi, Sorry for the long mail but I've been searching the web for days for how to do this.. I see that possibilities using shelve or pickle but I don't want to do this (The source of the data changes constantly) I'm learning Python and very much a beginner with Classes. I have data like this: (highly simplified... 22 Jun 2010 19:21
adding new function
> how can i simply add new functions to module after its initialization (Py_InitModule())? I'm missing something like PyModule_AddCFunction(). This type of question really belongs to python-list aka comp.lang.python which I CC-d now. Please keep the discussion on that list. Cheers, Daniel -- Psss... 23 Jun 2010 05:08
Should I Learn Python or Ruby next?
On Tue, Jun 22, 2010 at 6:58 PM, Josef Tupag <joseftupag(a)> wrote: Before I really dive in, though, I'm curious to hear what others think about the choice between these two languages. This is a terribly subjective opinion and I apologize to anyone that actually uses Ruby and likes it :) I find Rub... 24 Jun 2010 17:28
Redirecting STDOUT to a Python Variable
I'm writing an application that uses the Google Storage Python library. When an error occurs, the error is printed on the terminal. What I need to do is intercept that text into a variable so I can run a against it and find out what's going on. I thought doing a output_text = method_name(parameters) ... 22 Jun 2010 03:55
Problem using pbzip2 with bz2.BZ2File().read()
On Mon, Jun 21, 2010 at 5:32 PM, Ameet Nanda <ameet.nanda(a)> wrote: When I compress a file with bzip2 from command line and read it with uncomp_data = bz2.BZ2File("fname").read() , it reads the whole file into uncomp_data. However when I compress the file with pbzip2 from command line and read it... 21 Jun 2010 22:29
float from numbers in text file
hello, i have a text file that contains gps coordinates that i want to load into my mysql database the file is basically in this format: 52.2375412 5.1802704 i basically tried this: lat =0.0 for line in f: lat = float(line) but this gives an error.. does anyone know what i should to do? thanks, ... 21 Jun 2010 21:23
[ANN] python-signalfd 0.1 released
Hello all, I'm happy to announce the initial release of python-signalfd. This simple package wraps the sigprocmask(2) and signalfd(2) calls, useful for interacting with POSIX signals in slightly more advanced ways than can be done with the built-in signal module. You can find the package on PyPI or Launchp... 21 Jun 2010 19:09
First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86