Instantly share code, notes, and snippets.

Embed
What would you like to do?
Searches inputted address with google maps
import webbrowser, sys # Get address
if len(sys.argv) > 1:
address = ' '.join(sys.argv[1:])
# chops off google.py filename in the beginning ['mapIt.py', 'address']
webbrowser.open('https://www.google.com/maps/place/' + address)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment