python newbie: some surprises

v4vijayakumar vijayakumar.subburaj at gmail.com
Fri May 9 09:37:30 EDT 2008


On May 9, 1:48 pm, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> v4vijayakumar a écrit :
>
> > When I started coding in python, these two things surprised me.
>
> > 1. my code is inconsistently indented with the combination of tabs and
> > spaces. Even lines looked intended, but it is not.
>
> Then you have a problem with your code editor - not with Python.
>

Editors can not be wrong. :)

I think there should be some way to say python compiler, to consider
tab and two blank spaces equal, when tab space = 2.



More information about the Python-list mailing list