"W W" <[EMAIL PROTECTED]> wrote

The specific bit I'm looking at is this line

  the_timeout = setTimeout('writeTime();',500);

basically it calls the function again in 500ms, but rather than
pausing, I guess it spawns a new thread? I'm not really sure.

You might be able to use select() for this.

Or if in a GUI environment just create a timer.

Or create a thread and use sleep() within the thread.

Just some ideas at 01:10am. So they are probably mince!

Night all,

Alan G

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to