Re: Controlling gnumeric from Python
- From: Alexey Goldin <alexey goldin gmail com>
- To: gnumeric-list gnome org
- Subject: Re: Controlling gnumeric from Python
- Date: Thu, 6 Jan 2005 17:16:34 -0800
Ok, out of desperation rather then out of any other good reason I
added some extra glue to py-gnumeric.c and my test function now
looks like this:
import Gnumeric
def tst(n1,n2):
wb=Gnumeric.workbooks()[0]
s=wb.sheets()[0]
c1=s[0,0]
c2=s[1,0]
c1.set_float(n1)
c2.set_float(n2)
c1.queue_recalc()
c2.queue_recalc()
c3=s[2,0]
c3.eval()
return c3.get_value_as_float()
Is anyone interested in a patch? I will jump through necessary hoops
to avoid patching each new version.
On Thu, 6 Jan 2005 14:10:08 -0800, Alexey Goldin
<alexey goldin gmail com> wrote:
Ok, I downloaded gnumeric-1.4.1, configured it and run make.
I see libsolver.a, libgoffice.a, libwidgets.a but no libgnumeric.
How do I compile to get libgnumeric?
Thank!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]