File: pymailgui-products/unzipped/PyMailGui-PP4E/PP4E/Gui/Tools/pipe-nongui.py

# non-GUI side: proceed normally, no need for special code

import time
while True:                          # non-GUI code
    print(time.asctime())            # sends to GUI process
    time.sleep(2.0)                  # no need to flush here



[Home page] Books Code Blog Python Author Train Find ©M.Lutz