Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.python



Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2010, 12:24 PM
Phil Hibbs
Guest
 
Posts: n/a
Default Generic spreadsheet interface

I've currently got an Excel spreadsheet with loads of VBA, and I've
been thinking of porting it to OpenOffice.org. "This is a Python
list!" I hear you cry, but bear with me - rather than just re-writing
all the VBA code in OOo script, I thought, "why not make it generic -
so it can work with Excel or OOo?" - then I thought of Python. Python
can interface with both, but the specifics of how to interface with
each are very different. What would be nice is a generic wrapper class
that can work with either. Has anyone come across anything like that?

Phil Hibbs.
Reply With Quote
Alt Today
Advertising
Google Adsense
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 02-12-2010, 05:11 PM
Simon Hibbs
Guest
 
Posts: n/a
Default Re: Generic spreadsheet interface


Hi Bro, I don't know of anything like that. The spreadsheet sites I do
know of are application-specific.

http://www.python-excel.org/

http://wiki.services.openoffice.org/wiki/Python
http://lucasmanual.com/mywiki/OpenOffice

Note that the OO.o bindings for Python are only for Python 2.3 which
is a little archaic, but it's the version I started with and should be
more than good enough for spreadsheet work. A port to 2.5 is well
underway.

You'd probably need to write your own application-specific wrapper
modules with a common API and then use those, but it's probably not as
much work as it sounds and could be developed incrementaly.
Alternatively you just write your code against one spreadsheet module,
and then write a wrapper module for the other spreadsheet API so it
looks the same.

Simon Hibbs
Reply With Quote
 
Reply

Popular Tags in the Forum
generic, interface, spreadsheet

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
generic interface with procedure in used module Bill Newsgroup comp.lang.fortran 3 01-05-2010 02:46 PM
CELEBREX DRUG INFORMATION ONLINE Siera Gonsages Newsgroup comp.lang.java.programmer 1 11-23-2009 11:21 PM
WELLBUTRIN Drug Informatiom Online! Siera Gonsages Newsgroup comp.lang.java.programmer 1 11-22-2009 04:58 PM
PROPECIA DRUG INFORMATION ONLINE Siera Gonsages Newsgroup comp.lang.java.programmer 1 11-22-2009 03:46 PM
Re: SAS Formats w/ proc means Andre Wielki Newsgroup comp.soft-sys.sas 0 10-07-2008 03:18 PM



Language 1 | C | C++ | Php | Python | Lisp | Perl | Ruby | Java | Pascal | Basic | Language 2 | Databases | Oracle | Mysql | Access | Drupal
All times are GMT. The time now is 02:01 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.