Hi I was wondering if there is anyway with XML RPC to send a string of
text from the server to the client with out calling return thus breaking
my loop
for example
def somefunc():
for action, files in results:
full_filename = os.path.join(pa th_to_watch, files)
theact = ACTIONS.get(act ion, "Unknown")
out2 = str(full_filena me) + " " + str(theact)
return out2
the return statement will return a result breaking my loop. My goal is
to have it continue looping and updating the client
any ideas?
Cheers
Andrew
Thanks in advance
Pyhon 2.5.2
Windows XP
text from the server to the client with out calling return thus breaking
my loop
for example
def somefunc():
for action, files in results:
full_filename = os.path.join(pa th_to_watch, files)
theact = ACTIONS.get(act ion, "Unknown")
out2 = str(full_filena me) + " " + str(theact)
return out2
the return statement will return a result breaking my loop. My goal is
to have it continue looping and updating the client
any ideas?
Cheers
Andrew
Thanks in advance
Pyhon 2.5.2
Windows XP
Comment