Thread
:
The Economist - past issues
View Single Post
10-16-2011, 02:35 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,604
Karma: 28548974
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