Skip to content

Instantly share code, notes, and snippets.

@rdegges
Created February 28, 2012 01:00
Show Gist options
  • Save rdegges/1928263 to your computer and use it in GitHub Desktop.
Save rdegges/1928263 to your computer and use it in GitHub Desktop.
python-opencnam example script
from opencnam import Phone
PHONE_NUMBERS_START = 2024561111
PHONE_NUMBERS_STOP = 2024561171
for num in xrange(PHONE_NUMBERS_START, PHONE_NUMBERS_STOP):
phone = Phone(num)
print phone.number, phone.cnam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment