From 0d3483c25ecaa4eb3db6b884bae533e19bade93e Mon Sep 17 00:00:00 2001 From: Nik Conwell Date: Sat, 3 Feb 2024 04:32:57 -0500 Subject: [PATCH] Move import to logical location --- python/latitude/convert.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python/latitude/convert.py b/python/latitude/convert.py index 8b541d1..29c6d47 100755 --- a/python/latitude/convert.py +++ b/python/latitude/convert.py @@ -1,5 +1,10 @@ #!/home/nik/github/try/python/latitude/bin/python +# Library to convert addresses +# pip install geopy +from geopy.geocoders import Nominatim + + import argparse import re @@ -22,8 +27,6 @@ address+= ", natick, ma" print(f"(Added in town) >>>{address}<<<") -# Library to convert addresses -from geopy.geocoders import Nominatim loc = Nominatim(user_agent="Geopy Library") # Convert address entered