Thread
:
The Economist - past issues
View Single Post
10-16-2011, 02:35 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In python self refers to an object instantiated from a class, you cannot use it in class level variables. Instead of using it with INDEX, you should replace the use of INDEX in the rest of the recipe.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS