Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHONE FORMAT CLASS

Phone number formatting class

Will format phone number with selected country code, based on list of country codes provided

Ussage

Fromat phone number

#!python
from bphoneformat import bPhoneFormat

pf = bPhoneFormat()
print(pf.format_phone('Venezuela', '055899889'))

Get country keys used in format_phone function

#!python
from bphoneformat import bPhoneFormat

pf = bPhoneFormat()
print(pf.get_country_keys())

Get country names

#!python
from bphoneformat import bPhoneFormat

pf = bPhoneFormat()
print(pf.get_country_names())

About

Phone number formatting based on country code

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages