Skip to content

The 'Python Application (Windowed)' launched via the Python Installation Manager displays a console window. #216

@Jesse205

Description

@Jesse205

Bug report

Bug description:

The Python Installation Manager replaces the original Python Launcher now. Both pyzw and pyz files are then launched by the new Python Installation Manager.

The Python Installation Manager also supports the console-less pyzw version and recognizes shebang lines.

However, once a shebang line is specified, even if the file extension is pyzw, a console window still appears.

Image

The previous Python Launcher did not have this issue.

Reproduction Steps

  1. Create the following file structure:

    # myapp/__main__.py
    import tkinter
    
    
    tkinter.Tk().mainloop()
  2. Execute the following command in the terminal:

    python -m zipapp myapp -p "/usr/bin/env python3" -o myapp.pyzw
  3. Double-click the myapp.pyzw file to run it.

Enviroments

  • OS: Windows 11 25H2
  • Python: 3.14t (from the full installer)

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions