Mike Hearn wrote:
On Fri, 25 Nov 2005 11:44:07 -0600, aaron-XW8b5UTxoeLYtjvyW6yDsg wrote:
This is a common misconception. Inkscape doesn't really have Python for scripting. All of the current functionality is just shelled out to the installed system python.
Hmm, are you sure? The configure script checks for various functions in libpython itself like Py_Initialize. Seems odd to check for anything if all it does is run scripts using the command line.
thanks -mike
Actually, the lib bundle on win32 does contain complete Perl and Python implementations. Also, the stubs for scripting Inkscape via Perl or Python do actually start interpreters for them. So there is no reason that I can perceive why such code can't start external scripts just as well. Maybe people can experiment with what we would need to add to our Inkscape distro bundle to have running interpreters on Win32 and others. In fact, those stubs can probably be a means of starting such scripts in a cross-platform manner, rather than shelling out.
bob