0

I have a list of US postal codes. I want to obtain their Province code in python. For example : '66002' should give 'KS', '94611' should get 'CA' and likewise.

Is there a function available in python that can facilitate this query?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

1 Answers1

2

Try the package uszipcode (https://pypi.org/project/uszipcode/), in the documentation is explained how to access to the different information of each zipcode.

PabloCarrera
  • 141
  • 4