Re: time.clock() or time.time()

2005-08-03 Thread Nelson Minar
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I'm trying to benchmark some function calls for Zope project Other folks have explained time() vs. clock(), so I'll leave that. But rather than roll your own timer functions, consider using timeit. -- http://mail.python.org/mailman/listinfo/pyth

Re: Where are list methods documented?

2005-02-03 Thread Nelson Minar
You're not the only one with a hard time finding the list documentation. It's even crazier for string docs. If you want to see how to strip strings in Python you have to go to the library docs, then click "sequence types" (betcha don't think of strings as sequences), then scroll to the bottom, the

Re: What is print? A function?

2005-01-23 Thread Nelson Minar
Frans Englich <[EMAIL PROTECTED]> writes: > The reason I thinks about this is I need to implement a debug print for my > program; very simple, a function/print statement that conditionally prints > its message whether a bool is true. Not overly complex. As several folks have said, print is a sta

Re: Python and SOAP

2005-01-20 Thread Nelson Minar
Peter Schaefer <[EMAIL PROTECTED]> writes: > Is SOAPy still the way to go, or are there better methods? SOAPy hasn't been maintained in awhile. The two contemporary options are ZSI or SOAPpy, both at http://pywebsvcs.sourceforge.net/ ZSI seems to have more serious development now, but neither is

Re: XPath and XQuery in Python?

2005-01-14 Thread Nelson Minar
Nelson Minar <[EMAIL PROTECTED]> writes: > Could someone help me get started using XPath or XQuery in Python? I figured this out. Thanks for the help, John! Examples below. I used this exercise as an opportunity to get something off my chest about XML and Python - it's kind of a m

XPath and XQuery in Python?

2005-01-11 Thread Nelson Minar
Could someone help me get started using XPath or XQuery in Python? I'm overwhelmed by all the various options and am lacking guidance on what the simplest way to go is. What library do I need to enable three line Python programs to extract data with XPath expressions? I have this problem a lot wit

Re: Python! Is! Truly! Amazing!

2005-01-02 Thread Nelson Minar
"Erik Bethke" <[EMAIL PROTECTED]> writes: > I have NEVER experienced this kind of programming joy. Yep, I feel the same way since learning Python. It's really a productive and pleasant language. Congratulations on all your game successes! -- http://mail.python.org/mailman/listinfo/python-list