> Well another of my naive questions .. please bear with me:-
> I know that I would be able to find a visitor's ip address using :-
> ip=request.environ.get("X_FORWARDED_FOR", request.environ["REMOTE_ADDR"])
> now based on the ip address how do I get to know the exact geo location of
> the visitor and if someone is generous enough, it would be great if they
> could let me know how do I show him a page based on his location(Kindly try
> to put in as much detail as possible here.. who knows this mail just might
> help some other newbie like me next time)

There are lots of python modules for this, try googling for "geo ip python".

Cheers,
Daniel



-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to