PyGUI 1.6: A Note for MacOSX Users

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Mar 8 22:51:31 EST 2006


Alex Martelli wrote:

> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pa
> ckages/GUI/Cocoa/Applications.py", line 184, in init_application_name
>     ns_info['CFBundleName'] = GApplications.application_name
> TypeError: object does not support item assignment

You need to run your program with pythonw, not python.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list