text/x-python-script

Important: An officially mentioned type either does not exist, or is hard to track down. The information here likely reflects community contributions or popular usage derived from existing implementations.
Important: The official type may not represent community/developer consensus and you may encounter issues with the official type. The popular and potentially more compatible type has been listed as text/x-python.

File types

.py
.pyc
.pyd
.pyo
.whl