[Python-Dev] __file__

Antoine Pitrou solipsis at pitrou.net
Mon Mar 1 04:40:20 CET 2010


Le Sun, 28 Feb 2010 19:32:09 -0800,
Glenn Linderman <v+python at g.nevcal.com> a écrit :
> 
> If your text editor blows up because it is binary, it is a sad text
> editor.
> 
> If you have .py mapped to a text editor, that's sort of kooky too; I 
> have it mapped to Python.

File extensions exist for a reason, even if you find that "kooky" and
have strong ideas about the psychology of text editors.

Having some binary files named "foobar.py" would certainly annoy a lot
of people, including me.


Antoine.




More information about the Python-Dev mailing list