Poll application using Python