On 24 September 2013 21:38, John Yeung <gallium.arsenide@gmail.com> wrote:
On Tue, Sep 24, 2013 at 5:28 AM, JPM <jpmelian@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().

The python command is actually run by a .bat script which has a pause after the python command, so you shouldn't need anything in the program if the python command runs.  It sounds more like as Johannes said, the command is probably python.exe or some other error is preventing it finding python, so the bat file is exiting immediately without doing the pause.

Cheers
Lex
 

John
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users