carta
pythonw(1)

pythonw1

Run python script allowing gui

Usage

pythonw

Overview

pythonw is used to run python scripts that may display a graphical user interface (GUI). Pass the same arguments to pythonw as you would to python(1). For executable scripts, use pythonw in the "#!" line.

Actually, since Python 2.5, the normal python also allows GUI access, so python and pythonw are now interchangeable.

History

  • macOS 26.5 to OS X 10.10: the text shown here
  • OS X 10.9.5 to Mac OS X 10.4

From python 184 in macOS 26.5. Parsed by carta from the page's mdoc source.