Sometimes the python shell cannot recognize the presence of an attribute.

Aahz aahz at pythoncraft.com
Mon Apr 12 12:30:28 EDT 2010


In article <mailman.1341.1269989861.23598.python-list at python.org>,
Justin Park  <hp6 at rice.edu> wrote:
>
>The real problem is this.  When I started working on the package,
>somehow all of indentations were made by space-bars instead of using
>tabs.  But when I am implementing my own on top of it, I still use tabs
>to make indentations.

Stop using TAB.  Allowing TAB was a mistake.  Spaces are the One True
Way when formatting Python code.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan



More information about the Python-list mailing list