Pausing a program - poll/sleep/threads?

Paul Rubin http
Thu Feb 17 02:41:51 EST 2005


"Simon John" <simoninusa2001 at yahoo.co.uk> writes:
> So, how would I make a Python program automatically call a function
> after a preset period of time, without the Python process running in
> the foreground (effectively single-tasking)?

See the signal module and use the alarm signal.



More information about the Python-list mailing list