Re: running Python program without getting Python CE

[email protected]
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
I'm not sure how to fix your problem though. AFAIK I always thought that
the #! /usr/bin/env pythonw was for use by the shell on unix systems to
determine what interpreter to use. I don't think that is a platform
independent function.  Perhaps there is some functionality where you can
change the output from std to something else.

> Message: 3
> Date: Thu, 23 Feb 2006 20:08:52 -0700
> From: Jeffrey Barish <[email protected]>
> Subject: [PythonCE] Running Python program without getting Python CE
> 	window
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain;  charset="us-ascii"
>
> Whenever I run a Python application, I get a window titled "Python CE"
> that
> seems to capture stdout.  Is it called the console?  I would like to run
> my
> application without getting that window.  I had the impression that this
> window would not appear if I ran the application using pythonw.  To that
> end,
> I changed the first line of my application to
>
> #! /usr/bin/env pythonw
>
> (instead of /usr/bin/env/python).  Changing this line has no effect in
> either
> CE or XP.  What is the correct procedure?
> --
> Jeffrey Barish
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.