Edward K. Ream wrote: > To make myself perfectly clear: Python has absolutely no right to complain > about comment lines that do not have the form: > > # -*- coding: <encoding> -*- It does. Please see http://www.python.org/doc/current/ref/encodings.html This is the precise specification; Python looks for a certain regular expression. Regards, Martin