Python Self.subprocess Communication Example