add python gui code for study