Title: Signature.html
Going back to the idea of just running the program outside of IDLE, I just tried it, but, once the program ends (or dies?), the DOS-like window disappears. How does one prevent that? Is there some way to keep a window open with all that has been entered and the results? My program has no GUI. The UI is all text prompts.
...


while keyop != 0

Or better still just

while keyop:

You forgot to create keyop in this example.
UnboundLocalError: local variable 'updown' referenced before assignment

HTH,



--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
            
            "Though no one can go back and make a brand new start, 
	     ANYONE can start from now and make a brand new end." 
		                    -- Anonymous
            
                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to