I want to write a python application. The application would enable its user to draw polygons, edit them and move them as well as choosing the texture fill for them. 
Please provide the code for this application