import webbrowser, sys, pyperclip

sys.argv # ['mapit.py', '200', 'elim nagar', 'perungudi']


#Check if commant line arguments were passed

if len(sys.argv) > 1:
    # ['mapit.py', '200', 'elim nagar', 'perungudi'] -> ' 200 elim nagar perungui'
    address = ' '.join(sys.argv[1:])
else:
    address = pyperclip.paste()

webbrowser.open('https://www.google.com/maps/place/' + address)


eda7d631cebc64db1c3c9347421a9a4bb9747e4c
<mask token>

<mask token>
sys.argv
if len(sys.argv) > 1:
    address = ' '.join(sys.argv[1:])
else:
    address = pyperclip.paste()
webbrowser.open('https://www.google.com/maps/place/' + address)

import webbrowser, sys, pyperclip
sys.argv
if len(sys.argv) > 1:
    address = ' '.join(sys.argv[1:])
else:
    address = pyperclip.paste()
webbrowser.open('https://www.google.com/maps/place/' + address)

import webbrowser, sys, pyperclip

sys.argv # ['mapit.py', '200', 'elim nagar', 'perungudi']


#Check if commant line arguments were passed

if len(sys.argv) > 1:
    # ['mapit.py', '200', 'elim nagar', 'perungudi'] -> ' 200 elim nagar perungui'
    address = ' '.join(sys.argv[1:])
else:
    address = pyperclip.paste()

webbrowser.open('https://www.google.com/maps/place/' + address)

