Python Script To Open Google Maps Of a Place
Some times it is very tedious to open google maps and search for maps of that place. How good it would be if the browser opens automatically with the webpage showing google maps of your desired place.
I'm doing this tutorial using python 3.x but same could be done using python 2.x
The tutorial is based on the learning from "AutomateTheBoringStuff"
I hope you will find it interesting.
The script has following properties:
- Read the address from command line arguments or from the clipboard
- Requires webbrowser module to automatically open default web browser of OS with the desired URL
- Requires sys module to access command line stored in argv list
- Requires pyperclip to access address from clip board. This module is not by default. To install this read my blog post Access-Clipboard-Using-Python