On Jun 1, 9:33 am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar> wrote:
> En Sat, 30 May 2009 23:28:23 -0300, Jebel <jebel.s...@gmail.com> escribió:
>
> > I use python to start a GreenHills project in command line. And the
> > GreenHills project create a string which is include the information
> > that needed to be analyzed. How Can I return this string from
> > GreenHills project to python?
>
> I have no idea what a GreenHills project is. But if "create a string"
> means that it outputs something on screen, try the subprocess 
> module:http://docs.python.org/library/subprocess.html(see the very first 
> example)
>
> --
> Gabriel Genellina

Thank you Gabriel. I resolved this problem with os.popen().
Thank you very much.
By the way, a GreenHills project means a project built by
GreenHills,:)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to