need help getting xml feed from a url
If i have a list of urls how can I extract or pull their respective xml feeds? -- http://mail.python.org/mailman/listinfo/python-list
wsdl2py throwing error while creating client side code
I am developing an application using web services in python (ZSI Zolera Sopa Infrastructure) I am trying to create client side code of the wsdl file in the web service using wsdl2py. But i ended with an error from wsdl2py Here is the code [EMAIL PROTECTED] wsdl]$ wsdl2py -b -f vimService.wsdl Traceback (most recent call last): File "/usr/bin/wsdl2py", line 5, in ? from pkg_resources import load_entry_point File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/ pkg_resources.py", line 2561, in ? working_set.require(__requires__) File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/ pkg_resources.py", line 626, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/ pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: ZSI==2.0 What may be the problem...? If any one can help me with this then it will be very useful. Thanks and Regards, Shan -- http://mail.python.org/mailman/listinfo/python-list
python and netezza
Is there any module in python to connect with netezza database?(like cx_Oracle which is used to connect Oracle from python) Thanks for any help. - Shan -- http://mail.python.org/mailman/listinfo/python-list
Daemon process
I have XML RPC Server listening on a port. This XML RPC Server works fine when i run it as foreground process. All the clients are able to connect with the XML RPC Server. But when i run it as daemon(not using &. I am doing it in python way only), then no clients are able to connect with the Server. I didnt got any clue where i may be wrong. Can any help me with this? I am using python 2.4 on Redhat 5.2 64 X86_64 Thanks, Shan -- http://mail.python.org/mailman/listinfo/python-list
Repeating Thread Error
Hello, I am trying to call a function every 5 seconds. My understanding of time.sleep() is during the sleep time everything "stops". However, in my application, there are background processes that must be running continuously during the five second interval. Thus, threading.Timer seems like a good function. Here is the relevant code: # background processes t = threading.Timer(5.0, function_name, [arguments]) while True: # Do background processes run inside while loop? t.start() The above code generates an error: AssertionError: thread already started Any hints on how to fix the error? Also, do background processes run inside while loops? Thanks in advance, Jonathan Shan -- http://mail.python.org/mailman/listinfo/python-list
Array and floating point
Hello,
I'm experiencing a problem where the float being appended to the array
is not the same as the result of the appending.
>>> from array import *
>>> x = array('f')
>>> x.append(float("0.1"))
>>> x[0]
0.1000149011612
>>> float("0.1")
0.10001
I'm expecting x[0] = 0.10001
Thanks
Jonathan Shan
--
http://mail.python.org/mailman/listinfo/python-list
Re: The fundamental concept of continuations
[EMAIL PROTECTED] wrote in article <[EMAIL PROTECTED]> in comp.lang.functional: > > One of the most lucid explanations of definitional interpreters -- > > including those that are based on continuation-passing -- are > > explained in J. Reynolds' famous 1971 "Definitional Interpreters for > > Higher-Order Functions" paper. (It has been re-published in 1998 in > > HOSC.) The paper also explains how to perform defunctionalization, > > which can be seen as a way to compile (and even hand-compile) > > higher-order programs. > > Matthias, thanks for the reference, but I dont have access to an > engineering library. I would appreciate, if you have access to paper/ > scanner or electronic copy to help many of us out, you are > not just helping me but many will thank you. If nothing else, please use Google. Many will thank you. http://www.google.com/search?hl=en&q=Definitional+Interpreters+for+Higher-Order+Functions&btnG=Search -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig If monads encapsulate effects and lists form a monad, do lists correspond to some effect? Indeed they do, and the effect they correspond to is choice. Wadler 1995, Monads for fn'l programming -- http://mail.python.org/mailman/listinfo/python-list
