In this video we will explore phonenumbers package of python. This package will automatically give you the country from which that phone number belongs and the service provider .

This is a Python port of Google’s libphonenumber library It supports Python 2.5-2.7 and Python 3.x (in the same codebase, with no 2to3 conversion needed).
The main object that the library deals with is a PhoneNumber object. You can create this from a string representing a phone number using the parse function, but you also need to specify the country that the phone number is being dialled from (unless the number is in E.164 format, which is globally unique).

Subscribe : https://www.youtube.com/channel/UCej-wawhhPdjVKihCRk2Ang

#python #programming

How to get Phone Number Info using Python
3 Likes101.45 GEEK