Re: py2exe command line window problem

Discussion in 'Python' started by Prashant Singh, Jul 22, 2003.

  1. Bob Gailer wrote:

    > At 09:27 AM 7/22/2003 -0700, Prashant Singh wrote:
    >
    >> I'm using py2exe to create a standalone executable from a Python
    >> script, and I would like the script to run invisibly, i.e. without a
    >> console window and without any interactive GUI. The script is a helper
    >> app, which simply downloads and runs some other program.
    >>
    >> I've tried passing the -w flag to the script, and I've also tried
    >> renaming it with a .pyw extension, but when the executable is run an
    >> empty console window opens with the title "C:\WINNT\system32\cmd.exe".
    >> I've checked, and there are no print statements, which might cause
    >> py2exe to assume it's still a console app.

    >
    >
    > How are you running the executable?


    Usually it gets executed by a browser (Mozilla, Firebird, IE), but I've
    tried running it from Start->Run... and from a Command Prompt window. In
    all cases it creates a new, blank console window.

    Thanks,
    prashant.
    Prashant Singh, Jul 22, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. F. GEIGER
    Replies:
    0
    Views:
    902
    F. GEIGER
    Aug 16, 2004
  2. python
    Replies:
    3
    Views:
    1,755
    Simon Brunning
    May 22, 2006
  3. Karsten W.

    py2exe, command line parameter problem

    Karsten W., Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    394
    Karsten W.
    Aug 9, 2007
  4. pycloud

    py2exe + inno from command line

    pycloud, Jun 22, 2008, in forum: Python
    Replies:
    0
    Views:
    284
    pycloud
    Jun 22, 2008
  5. Replies:
    10
    Views:
    828
    Miki Tebeka
    Sep 28, 2012
Loading...

Share This Page