[Tutor] Python and a web image map

Alan Gauld alan.gauld at freenet.co.uk
Tue Mar 1 08:35:02 CET 2005


> I have been doing Python for a bit now but I am trying to make a
clickable
> map of the world on a web page that gives me the latitude and
longitude of a
> location selected.  I have done little with HTML beyond forms and
have done
> no Java script.  Is this a problem Python can solve or is this a
HTML / Java
> script issue.

Personally I'd go with JavaScript on this one. It has a built-in
knowledge
of the web browser interface and document which makes extracting the
mouse
location etc much easier. Its possible in Python but IMHO is easier in
JavaScript on the client.

Alan G.



More information about the Tutor mailing list