Emplacement du numéro de téléphone de piste à l'aide de Python
# install package:
pip install phonenumbers
# code:
import phonenumbers
from phonenumbers import geocoder
from phonenumbers import carrier
number = '+XXXXXXXXXX'
ch_number = phonenumbers.parse(number, "CH")
print(geocoder.description_for_number(ch_number, "en"))
service_provider = phonenumbers.parse(number, "RO")
print(carrier.name_for_number(service_provider, "en"))
Benja