Your question is insufficiently clear for me to answer. Do you want to know how to read from standard-input in a Python program?
Do you want to know how to start an external program from Python, and then connect something to that programs standard input? Do you want to know something else? Please specify! Cheers, --Tim -- http://mail.python.org/mailman/listinfo/python-list