Python: Tracking any phone number
Did you know Python is capable of getting the location of any person just by knowing his/her phone number? In this exercise, we will see how this is possible. Once again, this tutorial is only for educational and entertainment purposes. The libraries geocoder , and carrier libraries from the phonenumbers library should be imported. These libraries will help with the purpose of this exercise. Let's start! import phonenumbers from phonenumbers import geocoder from phonenumbers import carrier #Introducing the phone number to be tracked number = '+51 XXXXXXXXX' phone_number = phonenumbers.parse(number) carrier = carrier.name_for_number(phone_number, 'es') region = geocoder.description_for_number(phone_number,'es') As seen from the pictures, Python can output the name of the region in any language. If you want, for example, in English, you write 'en' instead of 'es', or 'de' for German, or 'ru' for Russian. The output of the va...