Pythonaro blog

16 January 2009

jEdit macro to add encoding declaration to python files

This is a little macro to add a PEP263-compliant string at the top of all open buffers in jEdit. It should probably be improved to skip the shell declaration line (if there), and not operate if the line is already there -- feel free to send patches ;D

Download Add_Encoding_Decl_to_Buffers.bsh

Labels: , ,

posted by GiacomoL @ 11:51 AM  


  • At 30/1/09 08:46, Anonymous simotrone said…
    Scusa lo spam OT, ma ti volevo passare questo articolo, nel caso ti fosse sfuggito. :)


Post a Comment


Links to this post:

Create a Link

<< Home