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

J

Jebel

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?

Thanks a lot.
 
G

Gabriel Genellina

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,290
Messages
2,571,453
Members
48,131
Latest member
AntoniaSep

Latest Threads

Top