def f_thread_GUI(): global f f=Interface.fenetre() for i in xrange(5): f.actionLivreur(restaurant[i])