Guido, how about having the 1.0.2 python build generate shared
libraries also?
Some level of this python support should be in the next release of STk,
but for the moment I have implemented three functions:
(python-init) ; Initializes python.. this would go away in a dynamic
; loading version.. (if you loaded it, you obviously
; want to use it: (require "python") )
(python "import foo;a = foo.bar()") ; Executes a python command
(set! a (python-value "__main__" "a")) ; Extracts a value from python,
; and converts types where
; possible.
STk comes with OO and non OO variants of Scheme and Tk.
IF anyone is interested, send me mail and Ill send the modifications
to STk for Python.
STk is available from kaolin.unice.fr.
(How can you not want to be able to use Tk, Scheme, C, C++, and Python
at the same time?)
-- John Redford (AKA GArrow) | 3,600 hours of tape. jredford@lehman.com | 5 cans of Scotchguard.