Mercurial > code > home > repos > light9
changeset 57:eaf60f5dce86
rm'd unneeded imports
rm'd unneeded imports
profiled
author | drewp |
---|---|
date | Tue, 09 Jul 2002 06:34:29 +0000 |
parents | 2af6698b0566 |
children | a4d000f759b4 |
files | light8/rsn.py |
diffstat | 1 files changed, 4 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/light8/rsn.py Tue Jul 09 05:28:21 2002 +0000 +++ b/light8/rsn.py Tue Jul 09 06:34:29 2002 +0000 @@ -2,23 +2,12 @@ from __future__ import nested_scopes from Tix import * -from time import sleep from signal import signal, SIGINT -import sys, cPickle - import io from uihelpers import * -from panels import * -from Xfader import * -from subediting import Subediting from Fader import Fader -import stage from Lightboard import Lightboard -import Subs, Patch - - - if len(sys.argv) >= 2: DUMMY = 0 print "This is the real thing, baby" @@ -33,7 +22,6 @@ root.wm_geometry('+462+470') root.tk_focusFollowsMouse() - parportdmx = io.ParportDMX(DUMMY) mr_lightboard = Lightboard(root,parportdmx,DUMMY) @@ -41,4 +29,8 @@ signal(SIGINT, mr_lightboard.quit) bindkeys(root,'<Escape>', mr_lightboard.quit) + root.mainloop() # Receiver switches main + +#import profile +#profile.run("root.mainloop()","profile/idlemanysubs")