a couple IDLE questions

Blake Winton bwinton at tor.dhs.org
Thu Sep 9 21:59:53 EDT 1999


On 09 Sep 1999 08:06:24 -0400, Guido van Rossum wrote:
>> >    2.  I point the above variable at ~/.pythonrc.  When I open that
>> >    file, it doesn't colorize it, I suppose since it doesn't end in
>> >    ".py".
>> Maybe, but really, is it worth the effort?  How many times do you
>> need to edit Python source that does not live in a .py/.pyw file?
>The design of features like this is all open to suggestion.  I don't
>particularly like the -*- python -*- convention (it's visual pollution
>in my eyes), but the mechanism that decides could be made configurable,
>and there could be a manual override.

It's been a while since I've looked at the code, but didn't it also
colourise the file if the first line looked like "#!/something/python"?

Later,
Blake.
-- 
One Will.  One Dream.  One Truth.  One Destiny.  One Love.




More information about the Python-list mailing list