The "ms-dos window" is probably only visible as long as the program is running. your program prints and then ends so you will have no time to see what happens. Maybe you can start an "ms-dos window" and run your program from there. That way the window will not go away when the program ends.
I don't know Python so I don't know exactly how to do it.
I guess you use an IDE so there might be some option you can change to make the window stay. Probably easier.
I looked through the IDE, nothing was there to format the program in anyway.
Any other suggestions?
I am using python 2.4(if that's what you are asking for) but i'm not sure python has an IDE.
i am using notepad ++ as an editor if thats was you mean.
I see.. How do you execute your python program now?
i double click program.py
thank you sooooooooooooooooooooooo much! now i can do python!
python distribution has integrated IDE called IDLE. It is simple but enough to do basic development
I've tried a bunch of ide's with python:
Aptana IDE with PyDev package
Eclipse IDE with pydev package
Pyscripter is a nice ide for simple scripts with an integrated console output it's hosted on google
and of course all the others that come with the distro of python:
some are not free:
Komodo Python Ide
At the moment I'm using a highly customized emacs for python developing. Sounds weird but it's best suited for me because i can switch the interpreter to check for compatibility.