PythonTidy
Laurent Pointal
laurent.pointal at limsi.fr
Thu Nov 30 08:34:24 EST 2006
Roberto Bonvallet a écrit :
> Chuck Rhode wrote:
>> I couldn't find a routine to clean up, regularize, and reformat Python
>> code, so I wrote one:
>>
>> http://www.lacusveris.com/PythonTidy/PythonTidy.python
>>
>> Now, I'm looking for beta-testers. Compensation is a bit on the low
>> side. In fact it's limited to the satisfaction of helping out.
>
...
> # vim: set fileencoding=utf-8 :
...
> # -*- coding: utf-8 -*-
...
> About changing the shebang line: I'll take it as a bug.
> About changing the encoding declaration from vim-style to emacs-style:
> I'll take it as an insult :)
This is not "emacs-style", this is Python normalized source encoding
directive for correct interpretation of u"..." strings by Python
interpreter.
See http://www.python.org/dev/peps/pep-0263/
A+
Laurent.
More information about the Python-list
mailing list