A few python wrappers
- From: Mathew Yeates <mathew fugue jpl nasa gov>
- To: gnumeric-list gnome org
- Subject: A few python wrappers
- Date: Fri, 07 Sep 2001 18:48:10 -0700
Hi-
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);
Mathew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]