◐ Shell
clean mode source ↗

Message 92071 - Python tracker

A Python source file name doesn't necesarily end 
in .py/.pyw; on Linux, scripts usually have no 
extension but are recognized by its shebang line. 
Windows uses file type associations: .py files are of 
type Python.File, and .pyc files are Python.NoConFile.

This patch makes IDLE recognize as a Python source 
(and colorize) any file of those types, regardless of 
extension.

http://permalink.gmane.org/
gmane.comp.python.general/636011