File Formats Wiki
Register
Advertisement
Python source file
Blank

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

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 also[]

References[]

External links[]

Advertisement