shaunc44 / where-am-i

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find US State with Longitude & Latitude

Instructions

  1. Download files
  2. Run pip install -r requirements.txt
  3. Go to the 'where-am-i' directory
  4. Run python state_server.py
  5. Open a second terminal
  6. Go to the 'where-am-i' directory
  7. Run python state_client.py
  8. Enter longitude
  9. Enter latitude

Expected Output (Examples)

Please enter a longitude:  -77.036133
Please enter a latitude:  40.513
 Pennsylvania
Please enter a longitude:  -77.7500915
Please enter a latitude:  35.61542232
 North Carolina
Please enter a longitude:  25.89
Please enter a latitude:  108.88
 Provided coordinates not found

Contact

shauncox44 at gmail.com

About


Languages

Language:Python 99.9%Language:Shell 0.1%