timomlists at gmail.com
Wed Nov 16 11:46:57 CET 2011
Op 16-11-11 09:46, lina schreef:
> On Wed, Nov 16, 2011 at 4:31 PM, Andre Engels<andreengels at gmail.com> wrote:
>> On Wed, Nov 16, 2011 at 9:21 AM, lina<lina.lastname at gmail.com> wrote:
>>> it still complaining. I set the gedit, use space not tab,
>>> Now I even typed space by space, avoid using tab, it still has the same
>>> How can I fixed it?
>> The line
>> if list1[i][j] != list1[i][j+1]:
>> still contains a tab, thus it is now indented negative 3 spaces plus a tab
>> plus 3 spaces compared to the encompassing loop, which is problematic both
>> because there is a negative number in there and because it differs from the
>> rest of the lines in the same loop (6 spaces)
> Thanks, fixed, seems my gedit has problem? the preference setting
> using space, not Tab,
> really headache about it, sometimes.
Gedit won't alter existing tabs when adjusting that setting. So that tab
was probably already there, or you copy-pasted it from some other source.
> Thanks again,
>> André Engels, andreengels at gmail.com
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
More information about the Tutor