use batch scripts and call python code via them and popen.