don't talk much.
First look at the VCF format:
Begin:vcard
version:2.1
fn:7814260568
TEL; cell:0017814260568
End:vcard
(Note VCF files do not double-click to open, to be opened by text or by means of tools.
Or you can't shut it down. )
7814260568 means that the name
0017814260568 means the mobile number
001, 00 (+), 1 means the country code
such as 008613055534469 can be understood as +8613055534469
86 says China
to generate the code for the VCF format Address Book:
With open ("111.txt") as F:
res = F.readlines ()
with open ("NEW.VCF", "w") as V: for
R in res:
NN = r.spli T (",")
print (nn[0])
print (nn[1])
v.write ("begin:vcard" + "\ n")
v.write ("version:2.1" + "\ n")
v.write ("FN:" +nn[0]+ "\ n")
v.write ("TEL; cell:00 "+nn[1]"
v.write ("end:vcard" + "\ n")
111.txt content is:
The first half of each line is named, and the latter part is the state code number.
It was created in the United States, the U.S. Code is 001 (+1)
There are 1 of them in front of the phone number, like 12012792555.
Build Results:
Presumably this is the way you can customize your own;