Re: Python



On Thu, Dec 04, 2003 at 07:28:39AM -0700, Donald Henson wrote:
On Thu, 2003-12-04 at 07:00, Andreas J. Guelzow wrote:

On Wed, 2003-12-03 at 21:16, pasty wrote:
Hi,
 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.

Hi,

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


I have one, if you don't mind me jumping in here. When I set up a
reference to a cell on another sheet that is set up to go to a URL (or a
mailto: which is what I really want), I would like to be able to click
on the referencing cell and have it take the same action as the
referenced cell would take if I clicked on it directly. Does that make
sense?

1) This is not really a python, or even a scripting issue.
2) As discussed in the bugreport the suggestion is interesting, but
   I don't have a solid enough grasp of how to implement all the corner
   cases to consider it at this time.



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