views:

147

answers:

2

I was looking around, and couldn't find the Python equivalent of browscap (that I've used in PHP to detect what browser a given user-agent string is.

I'm hoping I'm not going to have to write my own.. :P

+1  A: 

I have nothing to say.

David Zaslavsky
+1, especially if the result is the first entry of the search :)
Tetha
Thanks for taking the time to assume I'm an asshole. Why not actually look at that first result? http://code.google.com/p/python-browscap/downloads/list
Ian
You get it through SVN, check the "Source" tab.
David Zaslavsky
Yes. and I tried it, and it doesn't work. Can we move on to another suggestion please..?
Ian
+2  A: 

Check this out, it should do what you want: browscap.ini-parser.

Please note that even though it is on the Django Snippets website it is standalone and you can use it with whatever setup you have.

Paolo Bergantino