mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-27 14:01:12 +00:00
12 lines
227 B
Python
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.")
|
||
|
|
||
|
|