extend the Python DStream's print