create user interface using python