python datahandler (no output)