Python source file | |
---|---|
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) | |
---|---|
Filename extension | .pyw |
Opens with | pythonw.exe |
File formats category - |
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[]
- Compiled Python source file (.pyc)
- Optimized Python source file (.pyo)
References[]
External links[]
- Python programming language official website