This project give you random user agent from known user agents.
This project use UserAgentSwitcher list from http://techpatterns.com/forums/about304.html
import user_agent
print get_user_agent()
user_agents = gen_user_agent()
print user_agents.next()
Gagandeep Singh