Cai Gengyang <gengyang...@gmail.com>:

> What is a tab and what is a space in python and what's the difference
> ?
>
> Which piece of code is indented with tabs and which one is indented
> with spaces ?

Key questions that Python gurus are having a hard time answering!
Equally confusing, you might run into this phantom phenomenon:

   >>> if True:
   ...    a = 3
     File "<stdin>", line 2
         a = 3
       ^
   SyntaxError: invalid character in identifier


It might be useful to have a mode that echoes each input line as seen by
Python (repr).


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to