Posted to tcl by rmax at Tue Nov 08 08:53:15 GMT 2022view pretty

package require Tk
update
interp create -safe i
safe::loadTk i
i eval package require Tk

Comments

Posted by rmax at Tue Nov 08 16:02:06 GMT 2022 [text] [code]

Works when the safe interpreter is created with the [safe::interpCreate] command.