Search with Googlemap

The following code can search a location through code, by typing in Terminal python mapIt.py + address, or "win + R" and type in mapIt.py + address, or copy lots addresses and execute the program. For more details, "Automate Boring Stuff with Python".

#! python3
import webbrowser
new=2
url="http://www.google.com.hk"
#url="http://www.youtube.com"
webbrowser.open(url,new=new)

Resource:

Code

Github Code Link 1 Github Code Link 2

Last updated