Re: Python

On Wed, 2003-12-03 at 21:16, pasty wrote:
 Not sure if this is the best place to ask these questions, but here goes.
 As new comer to Gnumeric, I'm trying hard to leave Microsoft's Excel 
behind.  Unfortunately, I've become rather reliant on a number of functions 
written in visual basic.  Transfering excel workbooks really means re- 
writing a number of functions.
 When adding user defined functions, is it best to write python plugin 
modules (as described in the help manual) or is there another method?
 If python plugins are the most suitable, is there a way of having gnumeric 
re-read the python plugin file without closing and re-opening?

Functions written in python plugin work real well.  It would be nice 
however, if Gnumeric could load a python function definition set written 
for a specific workbook, maybe embedded in the Gnumeric file, or saved to 
the same directory with the workbook's name and the .py file extension
 Can user defined functions be called by the button wigets?

There is an entry in the Gnumeric manual under extending Gnumeric called 
"defining new functions".  Is this page empty because the feature hasn't 
been documented yet, or because the feature hasn't been implemented yet.


I don't know much about the python plugin and the ability to write new
functions using it. Hopefully Jon-Kåre or Adrian will reply to your
message. I would be interested in knowing though, what functions you
need to add that aren't already provided by gnumeric. I don't find it
hard to write plugins in C that add additional functions. And if there
are any generic functions that would be nice to be added to gnumeric we
would proba;y like to do that.

Andreas J. Guelzow
Taliesin Software, Shelties, Pyrsheps
and Shetland Sheep

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]