Re: read files

2008-01-21 Thread Alex Ezell
You might could do one of these two methods: fd.readlines() or: for line in fd: print line These are both from the Python tutorial found here: http://docs.python.org/tut/node9.html#SECTION00921 /alex On Jan 21, 2008 9:00 PM, J. Peng <[EMAIL PROTECTED]> wrote: > first I kno

Re: SOAPpy and ArrayOfKeyValue

2007-10-09 Thread Alex Ezell
list It's just a list of dictionaries with the actual words "key" and "value" as keys in the dictionary. I was making it much harder than it needed to be. SOAPpy is smart enough to handle the rest. Thanks SOAPpy! /alex On 10/9/07, Alex Ezell <[EMAIL PROTECTED]> wrote

SOAPpy and ArrayOfKeyValue

2007-10-09 Thread Alex Ezell
Can anyone offer any assistance as to how to convert a basic python dictionary, list, or even tuple into the SOAP type "ArrayOfKeyValue"? I am currently using SOAPpy, but would be willing to change to ZSI or something else if it made this conversion easier. I have tried with the arrayType and str