I followed steps in http://www.gimpusers.com/tutorials/install-python-for-gimp-2-6-windows, installing following 32-bits installers: GIMP 2.6.11, Python 2.6.6, PyGtk all-in-one.
Gimp recognized Python and PyGtk were installed in computer and now shows that option on Tools menu.
But when I tried to run this script in http://www.jamesh.id.au/software/pygimp/structure-of-plugin.html , line-by-line, I got some errors in commands below.
Any idea how to solve that?
have_gimp11 = gimp.major_version > 1 or \
gimp.major_version == 1 and gimp.minor_version >= 1
and
main()