Re: A few python wrappers
- From: Jody Goldberg <jgoldberg home com>
- To: Mathew Yeates <mathew fugue jpl nasa gov>
- Cc: gnumeric-list gnome org
- Subject: Re: A few python wrappers
- Date: Sat, 8 Sep 2001 13:57:54 -0400
On Fri, Sep 07, 2001 at 06:48:10PM -0700, Mathew Yeates wrote:
I started writing a few python wrappers (using SWIG)
for myself. Anybody who wants them is welcome to
them.
Now in my python plugin I can do
import wb
import wb_gui
import wb_ctl
import sheet
def mcy():
w=wb.workbook_new_with_sheets(1)
sh=wb.workbook_sheet_by_index(w,0)
sbi=wb.workbook_sheet_by_index(w,0)
c=sheet.sheet_cell_fetch(sbi,2,2)
sheet.sheet_cell_set_text(c,"WHOOPIE")
wbc = wb_gui.workbook_control_gui_new (None, w);
Nice. Please send them over and I'll include them in the python
plugin as a sample.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]