thanks On Wed, Oct 20, 2010 at 4:12 PM, Greg <gregb...@gmail.com> wrote: > Forgot to send to list. > > On Wed, Oct 20, 2010 at 10:12 AM, Greg <gregb...@gmail.com> wrote: >> On Wed, Oct 20, 2010 at 9:03 AM, Norman Khine <nor...@khine.net> wrote: >>> is there an equivalent module like the php's get_browser() >>> http://php.net/manual/en/function.get-browser.php function? >>> >>> thanks >>> >>> -- >> >> get_browser() simply gets a browser's user agent string then looks it >> up in a file. So if you can have your app get the http headers (the >> User-Agent header), you can do this yourself. >> >> -- >> Greg Bair >> gregb...@gmail.com >> > > > > -- > Greg Bair > gregb...@gmail.com >
-- ˙uʍop ǝpısdn p,uɹnʇ pןɹoʍ ǝɥʇ ǝǝs noʎ 'ʇuǝɯɐן sǝɯıʇ ǝɥʇ puɐ 'ʇuǝʇuoɔ ǝq s,ʇǝן ʇǝʎ %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor