On Windows you could change the file extension from .py to .pyw (if
you start via double click) or call the application using pythonw.exe
instead of python.exe.  The "w" tag tells python it's a gui app, so
don't launch the console.  The only problem is that without further
trickery your app will show up as "pythonw" in the task manager.  If
you're running more than one python application, you may just have to
guess and check when you want to shut it down.

I believe pythonw is the standard across most other OSes as well.  At
least Mac[1] and Linux.


[1] : 
http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/pythonw.1.html


On Feb 22, 3:05 am, "stephen.liy" <[EMAIL PROTECTED]> wrote:
> Hello, I am going to include web.py in my desktop app as the local
> server. But I don't want the command line window's prompt. Can anybody
> help me how to run the web.py in silence?
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to