Python Script To Open Google Maps Of a Place

Python Programming
Python Programming

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

Popular posts from this blog

[How to] install Remastersys on Unbuntu 14.04 [Linux] with GUI support

RTU B.Tech 4th semester Computer science Syllabus (Common to IT also)

[How to] Connect an android device [using MTP] on Linux [Ubuntu 14.04 LTS] 100% working