It's possible you will need to run python -u for this to behave as expected. Otherwise python may buffer the output until it sees a newline so you only see the last result. -- David