import package failed with Tkinter
Olivier Ravard
olivier.ravard at novagrid.com
Wed Oct 16 12:38:44 EDT 2002
Hi,
I want to use a Tk package with python using Tkinter (windows).
(this package is BWidget)
I made the folowing command :
self.tk.eval('global auto_path; lappend auto_path {"C:\Program
Files\Tcl\lib\tk8.4\BWidget-1.4.1"}')
self.tk.eval('global tcl_pkgPath; lappend tcl_pkgPath
{"C:\Program Files\Tcl\lib\tk8.4\BWidget-1.4.1"}')
self.tk.eval('package require BWidget')
and it raised an error that is :
self.tk.eval('package require BWidget')
TclError: can't find package BWidget
is someone have an idea to solve my problem ?
Thanks a lot.
O.R.
More information about the Python-list
mailing list