Thread
:
Writing a first plugin
View Single Post
06-24-2012, 11:44 PM
#
23
kovidgoyal
creator of calibre
Posts: 45,435
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
__future__ changes the way the interpreter interprets certain things. This is to allow you to write code that will work with later releases of python. In this case python 3. So yes, you should have it in all your plugin files.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS