We can help you if you make a start on the code to show your commited to your project :)
I would recommend that you look into using a program called PyGame. Start of making some basic programs such as how to open a window with PyGame and then how to draw a rectangle. Then you can use PyGame to detect the mouse position and pass it to the functions. PyGame has some excellent documentation pages:
http://pygame.org/docs/
SgtMe 46 Veteran Poster Featured Poster
NewOrder commented: thanks +0