Figured out how to pipe stdout to Python