I have a list of items in a node and I write this code to read a line at a 
time and display the line in the log window. I would like the display to 
pause for a couple of seconds before going on to the next line -

@language python
import time
p.moveToNext()
for lines in g.splitlines(p.b):
 g.es(lines)
 time.sleep(2)

However when I run this on my Mac 10.12.3 with python 2.7 and Leo 5.8b2 - 
the routine seems to add up all the pauses and then splurge out the output 
at one go?

ta

IH

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to