Skip to content

Python module for country codes with ISO codes.

License

Notifications You must be signed in to change notification settings

harshildarji/country

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Country

Package published at: PyPI

Downloads


Python module for country codes with ISO codes.

Install:

pip install country_module

Use:

Create a python script, for example example.py:

from country_module import country

print('Country code: {}'.format(country.see(country_name='India', option=0)))
print('ISO code: {}'.format(country.see(country_name='India', option=1)))

Save and run:

❯❯❯ py example.py
Country code: +91
ISO code: IN

About

Python module for country codes with ISO codes.

Resources

License

Stars

Watchers

Forks

Languages