Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import colorama
- import phonenumbers
- from phonenumbers import geocoder, carrier, timezone
- from colorama import init
- init()
- from colorama import Fore, Back, Style
- #Phone number information 2
- print(Fore.BLUE + "Phone number information || Creator - IArepetsky")
- ph = phonenumbers.parse(input(Fore.GREEN + "Enter phone number: "))
- print(phonenumbers.is_possible_number(ph))
- print(geocoder.description_for_number(ph, 'en'))
- print(geocoder.country_name_for_number(ph, 'en'))
- print(carrier.name_for_number(ph, lang='en'))
- timeZone = timezone.time_zones_for_number(ph)
- print(' ' .join(timeZone))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement