Hi Russell ~

Try importing pango as well.

import pango

Hope that helps,
~ Bryan

On Sat, 2004-02-14 at 01:41 +1100, Russell Shaw wrote:
> I just learnt python and pango. I get this error:
> 
> python db.py
> 
>    Traceback (most recent call last):
>      File "db.py", line 68, in edit_mans
>        attrlist=pango.AttrList()
>    NameError: global name 'pango' is not defined
> 
> I've imported gtk. Is there something else i should import?
> (i'm using debian)



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to