def get_ll(postal_code):
if postal_code == None: return None
geolocator = Nominatim()
location = geolocator.geocode(postal_code) # it seems that cannot write abbreviation here
if location == None: return None
al = str(location.latitude) + ', ' + str(location.longitude)
return al
Foursquare_search.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录