You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RubyPython
Hello,
Is it possible to run python code in the embedded python of Open
Office?
If so this will provide a UNO bridge for Ruby. Currently OLE is the
only way, which will be restricted to Windows platform.
AchatesAVC
unread,
Aug 7, 2008, 12:18:18 PM8/7/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RubyPython
I don't really know. The way I'm doing it is to write a Ruby C
extension which wraps the Python C API.
王海亮
unread,
Aug 12, 2008, 10:54:26 PM8/12/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyp...@googlegroups.com
It means that actually you call the Python functions in the Python DLL from a ruby extension, right?
So if I can compile this ruby extension but link it to the Python DLL that Open Office provided, it is possible that this is going to work, right?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyp...@googlegroups.com
Ah yes. I don't know if will work at not. I'm not sure if the Open Office Python DLL provides the some API as the standalone python library. It would require some changes to be made to the extconf.rb though. I don't think it would work as a gem install, but you might be able to tweak it to work. The C extension code does include the Python headers though. I'm not sure if open office comes with those. You're welcome to try it out though. Let me know how it goes.