[PATCH v2 03/41] test/py: Allow passing input to a program