Python source file

Filename extension .py
Internet media type text/plain +
Developed by Python Software Foundation
Type Scripting
source file
Opens with python.exe
Python source file (no console)

Filename extension .pyw
Opens with pythonw.exe
File formats category - v  e   edit
Smallwikipedialogo.png Wikipedia has an article related to:

Python source files are files that contain Python source code.

As Python can be used as a scripting language, Python source files can be considered as scripts.

PYW files are invoked on pythonw.exe instead of python.exe in order to prevent a DOS console from popping up to display the output.[1]

See alsoEdit


External linksEdit

Community content is available under CC-BY-SA unless otherwise noted.