Save data to a data file/binary file
- source: The source
- action: write or read
- search: The search criteria, index or key
- bin_file: The data/binary file
python run.py --source phone --action read --search 561 --bin_file bin/nanpa.bin
python run.py --source zip_codes --action read --search 55483 --bin_file bin/zip_code_database.bin
Create a data file for phone lookup
source: nanpa
Code and Description
- S: Non-Unique / Standard (all other ZIP codes)
- M: APO/FPO Military ZIP Code
- P: PO Box ZIP Code
- U: Unique/single high volume address