Python scripts that gather trains data