Thank You! Kent and Kerbros. I got it Regards, Bennedy.
> On Sat, Nov 1, 2008 at 7:17 AM, <[EMAIL PROTECTED]> wrote: > >> >> I am struggling with how to enable executable files. I copied the ff >> program on idlle non-interactice and run it. >> >> the_world_is_flat =1 >> if the_world_is_flat: >> print"Be careful not to fall off" >> >> The result came out on the interactive window. I saved this as >> "example.py" on the desktop. The python icon appears on the the desktop >> alright. When I attempt to run it by double clicking the icon, only a >> black DOS window flashes. > > > The problem is that the DOS window closes when the program exits. Try > adding > the line > raw_input("Press return to exit ") > to the end of your program. > > Kent > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor