A few python wrappers



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]