pythong scripting



Actually that is already supported, and documented.  You can create
spreadsheet functions in python and register them with Gnumeric.
Pass a range as an argument and you'll be able to interact with it
at the other end in python.  The interface could use a bit of
tuning, but the functionality is there.

I'm dreaming of typing directly into cell B1 (or the python window):
   C1:G100 = python.reshape(A1:A500, 5)     or
   C = [x**2 for x in A if x < 50]

But with the python window and the new extended bindings for range and
rangerefs, maybe this isn't so far off. There are times when I don't
want to have to restart gnumeric every time I change a python script.

                -C
-- 
Charles R. Twardy               Monash University, School of CSSE
ctwardy at alumni indiana edu   +61(3) 9905 5823 (w)  5146 (fax)
                             ~^~
  "eloquence ought to be banish'd out of all civil Societies as a
   thing fatal to Peace and good Manners..."          ~Sprat 1667




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