(windows) How to get information as string from a GreenHills project?

Jebel Jebel.Star at gmail.com
Sun May 31 22:02:21 EDT 2009


On Jun 1, 9:33 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> En Sat, 30 May 2009 23:28:23 -0300, Jebel <Jebel.S... at 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,:)




More information about the Python-list mailing list