Re: Gnumeric and Python (or other scripting languages).

2012-10-11 Thread Jean Bréfort
You need to build libgsf, goffice and gnumeric with the --enable-introspection configure flag. Regards, Jean Le jeudi 11 octobre 2012 à 18:11 +0200, Frederic Parrenin a écrit : > Hi Jean, > > I just decided to give python a try. > I activated the python plugin, opened the python console and ente

Re: Gnumeric and Python (or other scripting languages).

2012-10-11 Thread Frederic Parrenin
Hi Jean, I just decided to give python a try. I activated the python plugin, opened the python console and entered: from gi.repository import Gnm Unfortunately, I got the following error message: ERROR:root:Could not find any typelib for Gnm Traceback (most recent call last): File "", line 1,

Gnumeric and Python (or other scripting languages).

2012-08-16 Thread Jean Brefort
Hi, Next Gnumeric will support introspection, and this changes the way Python and gnumeric can interact. Although the Gnumeric Python interface is still there, it is better to use introspection. In the Python console, if you type (with a fresh new workbook): >>> from gi.repository import Gnm >>>