[EMAIL PROTECTED] wrote: > thanks u man. i am new to tk inter. i tried installing the lib. but > while running the demo script am getting following error. > > python sam.py > Traceback (most recent call last): > File "sam.py", line 1, in ? > import bwidget, Tkinter, sys, os > File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py", > line 149, in ? > class _Frame: > File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py", > line 152, in _Frame > getframe = makeswidget(getframe, Tkinter.Frame) > File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py", > line 74, in makeswidget > return _wrap(w, f) > File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py", > line 59, in _wrap > oldfunc.func_name, wrapper.func_defaults, wrapper.func_closure) > TypeError: function() takes at most 4 arguments (5 given)
it's likely that it simply doesn't support Python 2.2 (which was released in 2001; we've had two major releases since then). </F> -- http://mail.python.org/mailman/listinfo/python-list