On 5/13/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
>
> And on a related note, what do widgets have that HTML and some if statements 
> don't provide?
>
> Creating a scheduled task is a lot easier than messing about creating your 
> own class with a run()
> instance etc.

I wasn't being sarcastic at all. I was actually curious.

Incidentally, you don't have to derive a class to use threading--you
can do it in one line:

threading.Thread(target=my_function, args=(arg1,arg2)).start()

Using the scheduler for a one-shot, deferred call just seems like the
long way around to me.
-- 
Tim Lesher <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to