Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71736

Re: Can't figure out 'instance has no attribute' error

References <fce5a884-c9b0-4870-bec3-bb8ce16fa5a9@googlegroups.com> <b0c945f5-d49c-4a05-9124-616c64a529fa@googlegroups.com>
Date 2014-05-19 05:10 +1000
Subject Re: Can't figure out 'instance has no attribute' error
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10114.1400440221.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, May 19, 2014 at 5:02 AM,  <varun7rs@gmail.com> wrote:
> Thank you very much Ned, Rodri and Gary. I changed the settings of gedit text editor as mentioned in the Zed Shaw tutorial. I think this is causing me the problem. I'll follow your advice.
>

I find that there are better editors than gedit. My personal
preference is SciTE; one of its syntax highlighting features is a nice
big warning if the indentation doesn't make sense from one line to the
next. So if you switch from spaces to tabs, or mismatch indents, or
anything, it gives you this blue marker right through the faulty
indented section. Pick an editor with that kind of feature, and you'll
find your job way easier.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Can't figure out 'instance has no attribute' error varun7rs@gmail.com - 2014-05-17 16:56 -0700
  Re: Can't figure out 'instance has no attribute' error Ned Batchelder <ned@nedbatchelder.com> - 2014-05-17 20:16 -0400
  Re: Can't figure out 'instance has no attribute' error "Rhodri James" <rhodri@wildebst.org.uk> - 2014-05-18 01:24 +0100
  Re: Can't figure out 'instance has no attribute' error Gary Herron <gary.herron@islandtraining.com> - 2014-05-17 17:16 -0700
  Re: Can't figure out 'instance has no attribute' error varun7rs@gmail.com - 2014-05-18 12:02 -0700
    Re: Can't figure out 'instance has no attribute' error Chris Angelico <rosuav@gmail.com> - 2014-05-19 05:10 +1000

csiph-web