python-scripts/scripts/google_maps_finder/script.py
2022-10-11 08:23:19 +05:30

12 lines
227 B
Python

import sys
import webbrowser
if len(sys.argv) > 1:
map_string = ' '.join(sys.argv[1:])
webbrowser.open('https://www.google.com/maps/place/' + map_string)
else:
print("Pass the string as command line argument.")