Python Handwritten Notes PDF Guide.pdf
32.3 MB
Don't forget to React ❤️ to this msg if you want more content Like this 👍
❤125👍19🥰3🔥2
50 JavaScript Interview Questions (1).pdf
84.4 KB
Don't forget to React ❤️ to this msg if you want more content Like this 👍
❤60👍8🙏5
- Location of Mobile Number Code -
import phonenumbers
from phonenumbers import timezone
from phonenumbers import geocoder
from phonenumbers import carrier
number = input("Enter the phone number with country code : ")
# Parsing String to the Phone number
phoneNumber = phonenumbers.parse(number)
# printing the timezone using the timezone module
timeZone = timezone.time_zones_for_number(phoneNumber)
print("timezone : "+str(timeZone))
# printing the geolocation of the given number using the geocoder module
geolocation = geocoder.description_for_number(phoneNumber,"en")
print("location : "+geolocation)
# printing the service provider name using the carrier module
service = carrier.name_for_number(phoneNumber,"en")
print("service provider : "+service)
import phonenumbers
from phonenumbers import timezone
from phonenumbers import geocoder
from phonenumbers import carrier
number = input("Enter the phone number with country code : ")
# Parsing String to the Phone number
phoneNumber = phonenumbers.parse(number)
# printing the timezone using the timezone module
timeZone = timezone.time_zones_for_number(phoneNumber)
print("timezone : "+str(timeZone))
# printing the geolocation of the given number using the geocoder module
geolocation = geocoder.description_for_number(phoneNumber,"en")
print("location : "+geolocation)
# printing the service provider name using the carrier module
service = carrier.name_for_number(phoneNumber,"en")
print("service provider : "+service)
❤44👍4🤔1