[Tutor] how to make a script do two things at once.

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Aug 22 04:21:43 CEST 2005



On Sun, 21 Aug 2005, nephish wrote:

> i have a simple question about getting a script to do
> two things at once.

Hi Shawn,

It sounds like you may want to try threading.  Here you go:

    http://www.python.org/doc/lib/module-threading.html

Aahz has written a tutorial about Threads here:

    http://starship.python.net/crew/aahz/OSCON2001/

but if you'd like to see more examples, please feel free to ask, and
people on the tutor list can help.

Good luck!



More information about the Tutor mailing list