Awesome-Python-Scripts/location_using_ip_address.py

4 lines
58 B
Python
Raw Normal View History

2018-10-02 21:09:34 +00:00
import geocoder
g = geocoder.ipinfo('me')
print(g.latlng)