>>330
import time
while True:
    foo()
    time.sleep(3)

fooが重い処理なら、例えばスレッドなんかを作る。

import time, thread
while True:
    thread.start_new_thread(foo, ())
    time.sleep(3)

http://www.python.jp/doc/2.4/lib/module-time.html
http://www.python.jp/doc/2.4/lib/module-thread.html