Using Pipes As Data Streams In Python