On Sun, Feb 1, 2009 at 7:35 PM, JuanPablo <jabar...@gmail.com> wrote: > hi, > I have a newbie question. > In bash is posible call other program, send and recieve message with this. > > example: > $ python > output << EOF >> print "hello world" >> EOF > $ cat output > hello world > > in python exist some similar ?
See the `subprocess` module -- http://docs.python.org/library/subprocess.html Cheers, Chris -- Follow the path of the Iguana... http://rebertia.com -- http://mail.python.org/mailman/listinfo/python-list