how to format a python source file with tools?
Neil Cerutti
neilc at norwich.edu
Mon Nov 30 08:11:26 EST 2009
On 2009-11-27, Diez B. Roggisch <deets at nospam.web.de> wrote:
> The only thing that migh be automatized after a piece of code
> is valid is normalization, like de-tabifying or making
> everything based on 4 space characters indention. No idea if
> there is something out there that does that.
In vim, you can do something like:
:set tabstop=4
:set expandtab
:retab
--
Neil Cerutti
More information about the Python-list
mailing list