Run
import phonenumbers # Phone number in a string phonenumber_string = "+442083661177" # Parse string to a PhoneNumber object x = phonenumbers.parse(phonenumber_string) # Format PhoneNumber to INTERNATIONAL formatted = phonenumbers.format_number(x, phonenumbers.PhoneNumberFormat.INTERNATIONAL) print('INTERNATIONAL Format :', formatted)
Output