Sinan Nalkaya wrote: > i need a function like that, > wait 5 seconds: > (during wait) do the function > but function waits for keyboard input so if you dont enter any it waits > forever.
It's quite unclear whether the last part, above, is one of your *requirements*, or a description of a problem you are having with your current approach. Do you *want* it to wait forever if you don't enter anthing? -Peter -- http://mail.python.org/mailman/listinfo/python-list