import urllib import thread import Tkinter as Tk def run(): urllib.urlopen("http://www.python.org/").read() for _ in xrange(3): thread.start_new_thread(run, ()) root = Tk.Tk() raise RuntimeError()