Skip to content

Instantly share code, notes, and snippets.

View SeniorCub's full-sized avatar
Learning and Working from School

Reuben Ifeoluwa Farinde SeniorCub

Learning and Working from School
View GitHub Profile
@SeniorCub
SeniorCub / locatePhoneNumber.py
Created May 12, 2024 14:11
Locating phone number using python code
import phonenumbers
from phonenumbers import geocoder
phone_number1 = phonenumbers.parse("+917294536271")
phone_number2 = phonenumbers.parse("+2347045661084")
print("\nPhone Numbers Location\n")
print(geocoder.description_for_number(phone_number1,"en"))
print(geocoder.description_for_number(phone_number2,"en"))