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 -- http://mail.python.org/mailman/listinfo/python-list