Now, I am going to work on a new project with Python! Although I know quite a little about Python 2.x, but Python 3 will be the trend and future, and I am going to use it this time. Hopefully will pick it up very soon!
As blog notes, I got some information about Python related file extensions. Please see
this site for details about file extensions.
File Extension | File Type | File Description |
.py | Developer | - Program file or script written in Python
- Can be created and edited with a text editor, but requires a Python interpreter to run
- Often used for programming Web servers and other administrative computer systems
|
.pyc | Executable | |
.pyd | Developer | - Python dynamic module
- Can be imported into Python programs
|
.pym | Developer | - PYM macro preprocessor file
- Used by PYM, a macro preprocessor based on the Python programming language
- Contains macros defined between "#begin python" and "#end python" markers; used to create shortcuts for programmers
- PYM files store macro shortcuts that are expanded to their full text replacements during the Python interpreter's preprocessing stage
|
.pyo | Executable | - Python optimized code
- Similar to a .pyc file, but assert statements and SET_LINENO instructions are removed
|
.pyw | Developer | - Python GUI source file
- Displays a graphical user interface (GUI)
- May contain standard Python code as well as graphical Python code
- Must be run using pythonw instead of python in order to prevent a DOS console/terminal from popping up to display the output
|
References:
FileInfo.com
File Extension PYW
No comments:
Post a Comment