Python 3 Tkinter Script to Track Phone Number Location & Sim Card Details Using Phonenumbers Library GUI Desktop App

Hello, friend today we are going to see clearly what we are going to see in the article Python 3 Tkinter Script to Track Phone Number Location & Sim Card Details Using Phonenumbers Library GUI Desktop App. We hope you find this article very useful.

Python 3 Tkinter Script to Track Phone Number Location & Sim Card Details Using Phonenumbers Library GUI Desktop App

Python 3 Tkinter Script to Track Phone Number Location & Sim Card Details Using Phonenumbers Library GUI Desktop App

import phonenumbers

from phonenumbers import geocoder
from phonenumbers import carrier

print(geocoder.description_for_valid_number(phonenumbers.parse("+919821254649"),"en"))
print(carrier.name_for_number(phonenumbers.parse("+919821254649"),"en"))
from tkinter import *

import phonenumbers

from phonenumbers import geocoder

from phonenumbers import carrier

root = Tk()

root.geometry("500x500")

label1 = Label(text="Phone Number Tracker")

label1.pack()

def getResult():
    num = number.get("1.0",END)
    num = phonenumbers.parse(num)
    result.insert(END,"The country of this number is " + geocoder.description_for_number(num,"en"))
    result.insert(END,"nThe sim card of this number is " + carrier.name_for_number(num,"en"),END)
    

number = Text(height=5)

number.pack()

button = Button(text="Submit",command=getResult)

button.pack()

result = Text(height=5)

result.pack()

root.mainloop()

Read Also: Python 3 Script to Convert UTM Coordinates to Latitude & Longitude on Command Line

Final Words

Python 3 Tkinter Script to Track Phone Number Location & Sim Card Details Using Phonenumbers Library GUI Desktop App We hope you find the article useful and will see you in the next article.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Deekshi. Here, I post about programming to help developers.

Share on:

Leave a Comment