Re: [Tutor] real time response

2017-05-24 Thread Alan Gauld via Tutor
On 23/05/17 21:07, Michael C wrote: > def do_stuff: > blah > check() > blah > check() > blah > check() > blah > > and then either break or return if condition is met? > > But that just isn't responsive enough. Is there a way to make function > check for the

[Tutor] real time response

2017-05-23 Thread Michael C
hi all: I have a code that takes about 20 seconds to complete, but I also need to response to events (the appearance of red dots on a canvas) so I could place a few lines to check for this condition like this def do_stuff: blah blah check() blah blah blah