[Geany-Users] cmd window problem

John Yeung gallium.arsenide at xxxxx
Tue Sep 24 11:38:18 UTC 2013


On Tue, Sep 24, 2013 at 5:28 AM, JPM <jpmelian at gmail.com> wrote:
> I mean the console window appear and disappear 0.1 second after and
> I can not see any output.
>
> I think the console window should remain open.
>
> The python program only has one print line ( print "Hello world" ).

I don't have time at the moment to test things out with Geany (it's
not my usual editor), but I do have a suggestion:

One thing to try, to keep a Python window open that is not staying
open by other means, is to add an input statement at the end of your
program.  If you're using Python 2, it would be a raw_input()
statement; if using Python 3, just input().

John


More information about the Users mailing list