create a notepad app using python