DOS, UNIX and tabs
Sebastian 'lunar' Wiesner
basti.wiesner at gmx.net
Wed Dec 27 14:15:33 EST 2006
Ben <Benjamin.Barker at gmail.com> typed
> I have a python script on a windows system that runs fine. Both use
> tabs to indent sections of the code.
Just a tip for you: In python you never use tabs for indentation. The
python style guide [1] recommends four spaces per indentation level.
[1] http://www.python.org/dev/peps/pep-0008/
--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
More information about the Python-list
mailing list