Hi,

I'm writing a Robot in Python which, in a nutshell, 'reads' Quiz Bowl
questions in a Wave. At the moment, I have it respond to certain
commands by generating a new Blip and placing the full text of a
question in said Blip. It also appends the answer to the question as
an inline Blip.

However, I'm searching for a way to have the Robot incrementally add
the words of the question to the Blip. The current iteration of my
code can be found at <http://code.google.com/p/quizzy/source/browse/
trunk/quizzy.py>, and you can see how OnBlipSubmitted() calls
AskQuestion(), the method which retrieves a question and 'asks' it.
Now, I've tried using time.sleep() to have the robot wait in between
adding text to the document it's working in, but I've noticed that it
doesn't look like Wave is updating the document until after
OnBlipSubmitted() completely finishes.

Is anyone familiar with a technique I can use to get my robot to
incrementally add the words of the question to the document it's
writing and have the document visibly change with each addition?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to