anil.pundoor@gm ail.com wrote:
[color=blue]
> hi can i use the bwidgets in tkinter? if so from where can i download
> the bwidget for tk inter. and i want to know the installation procedure[/color]
googling for "bwidget for tkinter" gives you a library announcement as
the first hit, which points to this page:
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(get frame, 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_na me, wrapper.func_de faults, wrapper.func_cl osure)
TypeError: function() takes at most 4 arguments (5 given)
anil.pundoor@gm ail.com wrote:
[color=blue]
> 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(get frame, 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_na me, wrapper.func_de faults, wrapper.func_cl osure)
> TypeError: function() takes at most 4 arguments (5 given)[/color]
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).
Comment