Mensanator wrote:
On Jun 18, 10:33�pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from a
python app, and having the python app being able to get a returned value
from the ruby script.
something like
test.py
�a =
The commands module might help you out as well.
import commands as c
output = c.getoutput('testruby.rb')
On Thu, Jun 19, 2008 at 5:14 AM, Matt Nordhoff [EMAIL PROTECTED]
wrote:
Mensanator wrote:
On Jun 18, 10:33�pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to
In article [EMAIL PROTECTED],
Matt Nordhoff [EMAIL PROTECTED] wrote:
You're supposed to use the subprocess module.
Really? Sez who?
$ python
Python 2.3.4 (#1, Feb 2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
Type help, copyright, credits or license for more
On 19 Giu, 18:49, [EMAIL PROTECTED] (Aahz) wrote:
In article [EMAIL PROTECTED],
Matt Nordhoff [EMAIL PROTECTED] wrote:
You're supposed to use the subprocess module.
Really? Sez who?
$ python
Python 2.3.4 (#1, Feb 2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
On Jun 19, 11:49 am, [EMAIL PROTECTED] (Aahz) wrote:
In article [EMAIL PROTECTED],
Matt Nordhoff [EMAIL PROTECTED] wrote:
You're supposed to use the subprocess module.
Really? Sez who?
$ python
Python 2.3.4 (#1, Feb 2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on
On Jun 19, 5:14 am, Matt Nordhoff [EMAIL PROTECTED] wrote:
Mensanator wrote:
You're supposed to use the subprocess module.
Yeah, I know, but I couldn't get it to work the last
time I tried it.
In this case, something like:
import subprocess
factor_program = ['factor!', '-d200']
...
p
On Jun 18, 8:33 pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from a
python app, and having the python app being able to get a returned value
from the ruby script.
something like
test.py
a = os.exec(testruby.rb)
On Jun 19, 4:00 pm, Matimus [EMAIL PROTECTED] wrote:
On Jun 18, 8:33 pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from a
python app, and having the python app being able to get a returned value
from the ruby script.
On Jun 18, 10:33 pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from a
python app, and having the python app being able to get a returned value
from the ruby script.
I'm betting that Ruby is similar to Python in that a Ruby
Of Paul McGuire
Sent: Thursday, June 19, 2008 6:27 PM
To: python-list@python.org
Subject: Re: python/ruby question..
On Jun 18, 10:33 pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from
a
python app, and having the python app being able
In article [EMAIL PROTECTED],
Giampaolo Rodola' [EMAIL PROTECTED] wrote:
On 19 Giu, 18:49, [EMAIL PROTECTED] (Aahz) wrote:
In article [EMAIL PROTECTED],
Matt Nordhoff =A0[EMAIL PROTECTED] wrote:
You're supposed to use the subprocess module.
Really? =A0Sez who?
$ python
Python 2.3.4 (#1,
On Jun 18, 10:33�pm, bruce [EMAIL PROTECTED] wrote:
hi...
can someone point me to where/how i would go about calling a ruby app from a
python app, and having the python app being able to get a returned value
from the ruby script.
something like
test.py
�a = os.exec(testruby.rb)
12 matches
Mail list logo