On Mar 30, 2:57 am, [EMAIL PROTECTED] wrote: > Hi there. > I downloaded python a couple of days ago from the official site and > have started writing simple programs in the python gui (this being my > first attempt at programming ever). The only thing is when I write > python code in a text editor and save it as a .py file, when I double > click it all that happens is a black box flashes up on the screen, but > nothing else!? > > At first I thought this was because I had only written a hello world > program, and that the box had displayed "hello world" and then closed. > But then I wrote a program requiring user input and the same thing > happened... Am I doing something wrong? > > Thanks in advance for any help! > > //mac
open the program in IDLE (or any other Python IDEs). I'm guessing that your program is printing a traceback (error) when trying to get input that's why it immediately closes itself. -- http://mail.python.org/mailman/listinfo/python-list