pygtk beginner script not working

kent nyberg kent at z-sverige.nu
Sun Nov 15 07:38:25 EST 2015


On Sat, Nov 14, 2015 at 05:00:59PM -0800, james at imagewebdesign.co.uk wrote:
> Hi guys
> 
> I'm new to Python so please bare with me :)
> 
> I'm using python 2.7.10 as advised (more tools apparently over 3.x)
> 
> Trying to use this script
> 
> [CODE]
> #!/usr/bin/env python
> 
> # example base.py
> 
> import pygtk

It makes most sense to use gtk3 and not gtk2.
The most recenst version of gtk3 is used with
gi package.

Read this for example:
http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html




More information about the Python-list mailing list