setting up a form using python, commenting code