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

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun May 31 21:33:13 EDT 2009


En Sat, 30 May 2009 23:28:23 -0300, Jebel <Jebel.Star 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




More information about the Python-list mailing list