OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How to run a python scrip from oo-basic

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Tiksu
General User
General User


Joined: 31 Dec 2010
Posts: 48

PostPosted: Thu May 03, 2012 12:33 am    Post subject: How to run a python scrip from oo-basic Reply with quote

I have a python script that I can run in a terminal

./my_python_script.py

It prints a test "Hello, world!" in a file and "Mission fulfilled" on the terminal screen.

How could you run this script from a oo-basic program.

There are several variants for commands to do that on the net, but I haven't found a working one, though. Some of the snippets use shell and some others don't.

Could some one give a working recipe for get my script run from the oo-basic program?

Tiksu
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group