Python GUI and noGUI programms