How to execute foreing code from Python

Chris Rebert clp2 at rebertia.com
Sun Jan 23 18:30:45 EST 2011


On Sun, Jan 23, 2011 at 2:21 PM,  <hidura at gmail.com> wrote:
> Hello i want to code from different languages using a Python script i know i
> can use os.system, but i don't know how to receive data or send arguments
> using that method if theres any another way to make it or there's a way to
> send arguments and receive data using os.system?

Which other languages specifically?
Also, the `subprocess` module
(http://docs.python.org/library/subprocess.html ) is preferred over
os.system().

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list