当前位置:首页>Excel>告别通讯录格式烦恼!VCF与Excel互转工具,一键搞定联系人整理

告别通讯录格式烦恼!VCF与Excel互转工具,一键搞定联系人整理

  • 2026-04-09 16:05:20
告别通讯录格式烦恼!VCF与Excel互转工具,一键搞定联系人整理

还在为手机导出的VCF通讯录无法编辑发愁?还在为Excel联系人批量转成手机可识别的VCF格式头疼?今天给大家安利一款超实用的免费工具——VCF与Excel互转助手,轻松解决通讯录格式转换、信息整理的所有难题!

🌟 工具核心亮点

✅ 双向无损转换:VCF转Excel/Excel转VCF,保留所有联系人信息不丢失

✅ 信息完整提取:姓名、多号码、公司、部门、职位、地址、邮箱全解析

✅ 智能数据过滤:自动剔除无效联系人,只保留有姓名+电话的有效数据

✅ 操作简单易上手:可视化界面,无需编程基础,三步完成转换

✅ 自定义保存路径:默认保存至桌面,支持自定义文件名,查找更方便

📋 工具能解决哪些问题?

🔹 场景1:VCF文件转Excel(最常用)

手机/通讯录软件导出的VCF格式文件,无法直接编辑、筛选、分类?

用这个工具:

  1. 选择要转换的VCF文件

  2. 自动解析所有联系人信息(姓名、多个电话号码、公司、部门、职位、详细地址、电子邮件)

  3. 生成标准Excel文件,可自由编辑、排序、筛选联系人

🔹 场景2:Excel转VCF

整理好的Excel通讯录,想批量导入手机/微信/企业微信?

用这个工具:

  1. 上传包含姓名、电话的Excel文件(支持.xlsx/.xls格式)

  2. 自动识别所有字段,保留公司、部门、职位等完整信息

  3. 生成标准VCF文件,可直接导入各类手机/通讯录软件

🛠 详细功能解析

1. VCF转Excel:精准解析,信息不遗漏

  • 智能提取姓名:支持特殊字符(如间隔符·),自动过滤无效字符,避免“未知联系人”

  • 多号码识别:自动提取联系电话1、联系电话2,去重且不重复显示

  • 完整职场信息:解析工作单位、部门、职位字段,职场通讯录整理超方便

  • 地址/邮箱保留:详细地址、电子邮件信息完整提取,一键导出

  • 数据过滤:自动剔除无姓名、无电话的无效联系人,只保留有效数据

2. Excel转VCF:标准生成,导入无压力

  • 字段校验:自动检查姓名、联系电话1等必要字段,避免转换失败

  • 电话格式优化:自动去除电话后缀.0、多余空格,修复数值型电话格式问题

  • 编码兼容:支持UTF-8编码,中文姓名/地址不出现乱码

  • 批量生成:支持数百/数千条联系人批量转换,效率拉满

  • 标准格式:生成的VCF文件符合3.0标准,兼容安卓/苹果/各类通讯录软件

📝 操作教程(超简单!)

第一步:打开工具

双击运行程序,看到“VCF与Excel互转工具”主界面,状态显示“就绪”即可开始操作。

第二步:选择转换方向

▶ VCF转Excel

  1. 点击「📂 VCF 转 Excel」按钮

  2. 选择要转换的VCF文件(支持单个VCF文件,可包含多个联系人)

  3. 选择保存路径(默认桌面,自动命名为“原文件名_完整联系人信息.xlsx”)

  4. 等待转换完成,查看生成的Excel文件

▶ Excel转VCF

  1. 点击「📂 Excel 转 VCF」按钮

  2. 选择整理好的Excel文件(需包含“姓名”“联系电话1”列,其他字段可选)

  3. 选择保存路径(默认桌面,自动命名为“原文件名_完整联系人.vcf”)

  4. 转换完成后,即可将VCF文件导入手机/通讯录软件

第三步:查看结果

转换完成后会弹出提示框,显示解析的有效联系人数量、包含字段、文件保存路径,一目了然!

💡 温馨提示

  1. Excel转VCF时,需确保表格包含“姓名”和“联系电话1”列(必填),其他列(联系电话2、工作单位、部门、职位、详细地址、电子邮件)可选

  2. 支持的VCF版本:3.0标准格式(主流手机/软件导出的均兼容)

  3. 支持的Excel格式:.xlsx(推荐)、.xls(兼容旧版)

  4. 转换后的文件默认保存至桌面,方便查找和使用

🎯 适合哪些人用?

  • 行政/人事:批量整理员工通讯录,导入企业微信/办公系统

  • 销售/商务:整理客户联系方式,VCF转Excel便于筛选,Excel转VCF便于导入手机

  • 普通用户:手机通讯录备份、整理,跨设备转移联系人

  • 企业管理者:统一管理公司通讯录,确保信息格式规范

📌 工具优势总结

相比在线转换工具,这款本地工具更安全(数据不联网)、更完整(保留所有字段)、更稳定(无文件大小限制)!无需安装复杂插件,纯绿色版,下载即可使用。

无论是批量整理通讯录、跨平台转移联系人,还是规范职场通讯录格式,这款VCF与Excel互转工具都能一站式搞定!再也不用手动一个个编辑联系人,节省大量时间和精力~

源代码

import osimport sysimport pandas as pdimport reimport quopriimport base64from tkinter import *from tkinter import ttk, filedialog, messageboxclass VCFConverterApp:    def __init__(self, root):        self.root = root        self.root.title("📇 通讯录助手:VCF与Excel互转工具")        self.root.geometry("600x350")        self.root.resizable(FalseFalse)        # 标题        title_label = ttk.Label(root, text="VCF与Excel互转工具", font=("微软雅黑"18"bold"))        title_label.pack(pady=20)        # 说明文字        desc_label = ttk.Label(root, text="作者:帕尔哈提                    日期:2025.12.21", font=("微软雅黑"10))        desc_label.pack(pady=10)        # 按钮框架        button_frame = ttk.Frame(root)        button_frame.pack(pady=30)        # VCF 转 Excel 按钮        self.btn_vcf_to_excel = ttk.Button(button_frame, text="📂 VCF 转 Excel", width=25, command=self.run_vcf_to_excel)        self.btn_vcf_to_excel.grid(row=0, column=0, padx=20)        # Excel 转 VCF 按钮        self.btn_excel_to_vcf = ttk.Button(button_frame, text="📂 Excel 转 VCF", width=25, command=self.run_excel_to_vcf)        self.btn_excel_to_vcf.grid(row=0, column=1, padx=20)        # 状态栏        self.status_var = StringVar()        self.status_var.set("就绪 - 请选择要转换的文件")        self.status_bar = ttk.Label(root, textvariable=self.status_var, relief=SUNKEN, font=("Consolas"9), foreground="gray")        self.status_bar.pack(side=BOTTOM, fill=X, pady=10)    def show_error(self, message):        messagebox.showerror("错误", message)        self.status_var.set("状态:出错 - " + message[:50] + "...")    def show_info(self, message):        messagebox.showinfo("转换成功", message)        self.status_var.set("状态:转换完成 - 请查看文件")    def run_vcf_to_excel(self):        self.status_var.set("状态:正在选择VCF文件...")        self.root.update()        vcf_path = filedialog.askopenfilename(            title="选择VCF联系人文件",            filetypes=[("VCF Files""*.vcf"), ("All Files""*.*")],            initialdir=os.path.expanduser("~")        )        if not vcf_path:            self.status_var.set("状态:已取消 - 未选择文件")            return        try:            contacts = self.process_vcf_file(vcf_path)            if not contacts:                self.show_error("未解析到有效联系人数据,请检查VCF文件是否有效")                return            # 获取保存路径            desktop = os.path.join(os.path.expanduser("~"), "Desktop")            default_name = os.path.splitext(os.path.basename(vcf_path))[0] + "_完整联系人信息.xlsx"            save_path = filedialog.asksaveasfilename(                title="保存Excel联系人文件",                initialdir=desktop,                initialfile=default_name,                defaultextension=".xlsx",                filetypes=[("Excel Files""*.xlsx"), ("All Files""*.*")]            )            if not save_path:                self.status_var.set("状态:已取消 - 未保存文件")                return            # 生成Excel文件,确保包含所有字段(核心:保留所有信息列)            df = pd.DataFrame(contacts)            # 定义固定列顺序,确保所有信息都显示            columns_order = [                '姓名''联系电话1''联系电话2'                '工作单位(公司)''部门''职位''详细地址''电子邮件'            ]            # 补充存在的列,避免缺失            for col in df.columns:                if col not in columns_order:                    columns_order.append(col)            # 重新排序,确保字段完整显示            df = df.reindex(columns=columns_order, fill_value="")            # 过滤无效数据(仅姓名为空或电话全空的过滤)            df = df[(df['姓名'] != '未知联系人') & (df['姓名'] != '') &                     ((df['联系电话1'] != '') | (df['联系电话2'] != ''))]            # 保存Excel,不保留索引            df.to_excel(save_path, index=False, engine="openpyxl")            success_msg = f"转换成功!\n共解析 {len(df)} 个有效联系人\n包含字段:姓名、联系电话1、联系电话2、工作单位、部门、职位、地址、电子邮件\n文件已保存至:\n{save_path}"            self.show_info(success_msg)        except Exception as e:            self.show_error(f"转换失败:{str(e)}\n请检查文件格式或依赖库是否安装完整")    def run_excel_to_vcf(self):        self.status_var.set("状态:正在选择Excel文件...")        self.root.update()        excel_path = filedialog.askopenfilename(            title="选择Excel联系人文件",            filetypes=[("Excel Files""*.xlsx *.xls"), ("All Files""*.*")],            initialdir=os.path.expanduser("~")        )        if not excel_path:            self.status_var.set("状态:已取消 - 未选择文件")            return        try:            # 读取Excel文件,支持所有字段            if excel_path.endswith(".xlsx"):                df = pd.read_excel(excel_path, engine="openpyxl")            else:                df = pd.read_excel(excel_path, engine="xlrd")            # 检查必要字段            required_cols = ['姓名''联系电话1']            for col in required_cols:                if col not in df.columns:                    raise ValueError(f"Excel文件缺少必要字段:{col},请确保包含姓名和联系电话1列")            # 获取保存路径            desktop = os.path.join(os.path.expanduser("~"), "Desktop")            default_name = os.path.splitext(os.path.basename(excel_path))[0] + "_完整联系人.vcf"            save_path = filedialog.asksaveasfilename(                title="保存VCF联系人文件",                initialdir=desktop,                initialfile=default_name,                defaultextension=".vcf",                filetypes=[("VCF Files""*.vcf"), ("All Files""*.*")]            )            if not save_path:                self.status_var.set("状态:已取消 - 未保存文件")                return            # 生成VCF文件,完整保留所有字段            with open(save_path, 'w', encoding='utf-8'as f:                for _, row in df.iterrows():                    f.write("BEGIN:VCARD\n")                    f.write("VERSION:3.0\n")                    # 处理姓名(保留·间隔符)                    name = row['姓名'if pd.notna(row['姓名']) else ""                    if name == "":                        continue  # 跳过无姓名的联系人                    encoded_name = quopri.encodestring(name.encode('utf-8')).decode('utf-8')                    f.write(f"FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_name}\n")                    f.write(f"N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_name};;;\n")                    # 处理联系电话(修复.0后缀问题,清除无效字符)                    phone1 = row['联系电话1'if pd.notna(row['联系电话1']) else ""                    phone2 = row['联系电话2'if pd.notna(row['联系电话2']) else ""                    # 处理电话1                    if phone1 != "":                        # 若为数值类型(int/float),先转为整数再转字符串(去除小数部分)                        if isinstance(phone1, (intfloat)):                            phone1 = str(int(phone1))                        # 清除所有空格和非数字字符(保留+等可能的前缀)                        phone1 = re.sub(r'\s+'''str(phone1)).strip()                        f.write(f"TEL;TYPE=CELL:{phone1}\n")                    # 处理电话2                    if phone2 != "":                        if isinstance(phone2, (intfloat)):                            phone2 = str(int(phone2))                        phone2 = re.sub(r'\s+'''str(phone2)).strip()                        f.write(f"TEL;TYPE=CELL:{phone2}\n")                    # 处理电子邮件(完整保留)                    email = row['电子邮件'if '电子邮件' in df.columns and pd.notna(row['电子邮件']) else ""                    if email != "":                        encoded_email = quopri.encodestring(email.encode('utf-8')).decode('utf-8')                        f.write(f"EMAIL;TYPE=WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_email}\n")                    # 处理工作单位(公司,完整保留)                    company = row['工作单位(公司)'if '工作单位(公司)' in df.columns and pd.notna(row['工作单位(公司)']) else ""                    if company != "":                        encoded_company = quopri.encodestring(company.encode('utf-8')).decode('utf-8')                        f.write(f"ORG;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_company}\n")                    # 处理部门(完整保留)                    dept = row['部门'if '部门' in df.columns and pd.notna(row['部门']) else ""                    if dept != "":                        encoded_dept = quopri.encodestring(dept.encode('utf-8')).decode('utf-8')                        f.write(f"X-DEPARTMENT;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_dept}\n")                    # 处理职位(完整保留)                    title = row['职位'if '职位' in df.columns and pd.notna(row['职位']) else ""                    if title != "":                        encoded_title = quopri.encodestring(title.encode('utf-8')).decode('utf-8')                        f.write(f"TITLE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:{encoded_title}\n")                    # 处理详细地址(完整保留)                    address = row['详细地址'if '详细地址' in df.columns and pd.notna(row['详细地址']) else ""                    if address != "":                        encoded_address = quopri.encodestring(address.encode('utf-8')).decode('utf-8')                        f.write(f"ADR;TYPE=WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;{encoded_address};;;;\n")                    f.write("END:VCARD\n")            success_msg = f"转换成功!\n共生成 {len(df)} 个有效联系人\n包含字段:姓名、联系电话、工作单位、部门、职位、地址、电子邮件\n文件已保存至:\n{save_path}"            self.show_info(success_msg)        except Exception as e:            self.show_error(f"转换失败:{str(e)}\n请检查文件格式或必要字段是否存在")    def decode_quoted_printable_full(self, text):        """完整解码QP编码内容,保留·间隔符和特殊字符,无截断"""        try:            text = re.sub(r'=\r?\n''', text)  # 拼接行续符            text = re.sub(r'=+$''', text)     # 移除末尾多余=            decoded_bytes = quopri.decodestring(text.encode('utf-8'))            return decoded_bytes.decode('utf-8', errors='replace')        except Exception as e:            return text    def is_invalid_name(self, text):        """优化无效姓名过滤,保留·间隔符"""        if not re.search(r'[\u4e00-\u9fff\w\s·]', text) or len(text) == 0:            return True        if re.search(r'CHARSET|ENCODING|QUOTED-PRINTABLE|BASE64|PHOTO|IMAGE', text, re.IGNORECASE):            return True        return False    def extract_name_from_block_full(self, block_text):        """完整提取姓名,保留·间隔符"""        # 移除干扰字段        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        # 提取FN字段(优先)        fn_pattern = re.compile(r'FN[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE)        fn_matches = fn_pattern.findall(block_text)        if fn_matches:            fn_content = fn_matches[0].strip()            decoded_name = self.decode_quoted_printable_full(fn_content)            decoded_name = re.sub(r'[^\u4e00-\u9fff\w\s\u3000-\u303f\uff00-\uffef·]''', decoded_name)            decoded_name = re.sub(r'\s+'' ', decoded_name).strip()            if not self.is_invalid_name(decoded_name) and decoded_name:                return decoded_name        # 提取N字段        n_pattern = re.compile(r'N[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE)        n_matches = n_pattern.findall(block_text)        if n_matches:            n_content = n_matches[0].strip()            decoded_name = self.decode_quoted_printable_full(n_content)            decoded_name = re.sub(r'[^\u4e00-\u9fff\w\s\u3000-\u303f\uff00-\uffef·]''', decoded_name)            name_parts = [p.strip() for p in decoded_name.split(';'if p.strip()]            full_name = ''.join(name_parts)            full_name = re.sub(r'\s+'' ', full_name).strip()            if not self.is_invalid_name(full_name) and full_name:                return full_name        return ""    def extract_phones_from_block_full(self, block_text):        """提取联系电话(单个不重复、多个正常保留、空电话不填充)"""        # 移除干扰字段        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        clean_block = re.sub(r'CHARSET|ENCODING|QUOTED-PRINTABLE|BASE64''', block_text, flags=re.IGNORECASE)        # 提取所有有效电话(去重,避免重复提取)        tel_pattern = re.compile(r'TEL[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        tel_matches = tel_pattern.findall(clean_block)        valid_phones = []        for match in tel_matches:            phone = ''.join([c for c in match if c.isdigit() or c in ['+''-''('')'' ']])            phone = re.sub(r'\s+''', phone).strip()            if phone and phone not in valid_phones:  # 去重,避免单个电话重复                valid_phones.append(phone)        # 处理电话数量:最多保留2个,单个则第二个为空        phone1 = valid_phones[0if len(valid_phones) >= 1 else ""        phone2 = valid_phones[1if len(valid_phones) >= 2 else ""        return phone1, phone2    def extract_org_full(self, block_text):        """完整提取工作单位/公司信息"""        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        block_text = re.sub(r'=\r?\n''', block_text)        block_text = re.sub(r'=+$''', block_text)        # 匹配ORG字段(工作单位/公司)        org_pattern = re.compile(r'ORG[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        org_matches = org_pattern.findall(block_text)        if org_matches:            org_content = org_matches[0].strip()            decoded_org = self.decode_quoted_printable_full(org_content)            decoded_org = re.sub(r'[^\u4e00-\u9fff\d\w\s\+\-\@\.\·]''', decoded_org)            decoded_org = re.sub(r'\s+'' ', decoded_org).strip()            org_parts = [p.strip() for p in decoded_org.split(';'if p.strip()]            return ' '.join(org_parts) if org_parts else ""        return ""    def extract_dept_full(self, block_text):        """完整提取部门信息"""        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        block_text = re.sub(r'=\r?\n''', block_text)        block_text = re.sub(r'=+$''', block_text)        # 匹配部门字段(X-DEPARTMENT/DEPT)        dept_pattern = re.compile(r'(X-DEPARTMENT|DEPT)[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        dept_matches = dept_pattern.findall(block_text)        if dept_matches:            dept_content = dept_matches[0][1].strip()            decoded_dept = self.decode_quoted_printable_full(dept_content)            decoded_dept = re.sub(r'[^\u4e00-\u9fff\d\w\s\+\-\@\.\·]''', decoded_dept)            decoded_dept = re.sub(r'\s+'' ', decoded_dept).strip()            return decoded_dept if decoded_dept else ""        return ""    def extract_title_full(self, block_text):        """完整提取职位信息"""        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        block_text = re.sub(r'=\r?\n''', block_text)        block_text = re.sub(r'=+$''', block_text)        # 匹配职位字段(TITLE)        title_pattern = re.compile(r'TITLE[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        title_matches = title_pattern.findall(block_text)        if title_matches:            title_content = title_matches[0].strip()            decoded_title = self.decode_quoted_printable_full(title_content)            decoded_title = re.sub(r'[^\u4e00-\u9fff\d\w\s\+\-\@\.\·]''', decoded_title)            decoded_title = re.sub(r'\s+'' ', decoded_title).strip()            return decoded_title if decoded_title else ""        return ""    def extract_adr_full(self, block_text):        """完整提取详细地址信息"""        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        block_text = re.sub(r'=\r?\n''', block_text)        block_text = re.sub(r'=+$''', block_text)        # 匹配地址字段(ADR)        adr_pattern = re.compile(r'ADR[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        adr_matches = adr_pattern.findall(block_text)        if adr_matches:            adr_content = adr_matches[0].strip()            decoded_adr = self.decode_quoted_printable_full(adr_content)            decoded_adr = re.sub(r'[^\u4e00-\u9fff\d\w\s\+\-\@\.\u3000-\u303f\uff00-\uffef·]''', decoded_adr)            decoded_adr = re.sub(r'\s+'' ', decoded_adr).strip()            adr_parts = [p.strip() for p in decoded_adr.split(';'if p.strip()]            return ' '.join(adr_parts) if adr_parts else ""        return ""    def extract_email_full(self, block_text):        """完整提取电子邮件信息"""        block_text = re.sub(r'PHOTO[^:]*:.*?(?=\r?\n\w+|END:VCARD)''', block_text, flags=re.DOTALL | re.IGNORECASE)        block_text = re.sub(r'=\r?\n''', block_text)        block_text = re.sub(r'=+$''', block_text)        # 匹配电子邮件字段(EMAIL)        email_pattern = re.compile(r'EMAIL[^:]*:(.*?)(?=\r?\n\w+|END:VCARD)', re.DOTALL | re.IGNORECASE | re.MULTILINE)        email_matches = email_pattern.findall(block_text)        if email_matches:            email_content = email_matches[0].strip()            decoded_email = self.decode_quoted_printable_full(email_content)            decoded_email = re.sub(r'[^\u4e00-\u9fff\d\w\s\+\-\@\.\.]''', decoded_email)            decoded_email = re.sub(r'\s+'' ', decoded_email).strip()            return decoded_email if decoded_email else ""        return ""    def process_vcf_file(self, vcf_path):        """核心流程:完整提取所有信息,处理联系电话不重复"""        contacts = []        try:            # 读取VCF文件            with open(vcf_path, 'rb'as f:                raw_data = f.read()            block_text = raw_data.decode('utf-8', errors='replace')            block_text = re.sub(r'[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]''', block_text)            block_text = re.sub(r'\r\n''\n', block_text)            # 拆分单个联系人块            vcard_blocks = re.split(r'BEGIN:VCARD', block_text, flags=re.IGNORECASE)            for block in vcard_blocks[1:]:  # 跳过第一个空块                if 'END:VCARD' not in block:                    continue                # 提取核心信息                name = self.extract_name_from_block_full(block)                phone1, phone2 = self.extract_phones_from_block_full(block)                company = self.extract_org_full(block)                dept = self.extract_dept_full(block)                title = self.extract_title_full(block)                address = self.extract_adr_full(block)                email = self.extract_email_full(block)                # 构建联系人字典                contact = {                    '姓名': name if name else '未知联系人',                    '联系电话1': phone1,                    '联系电话2': phone2,                    '工作单位(公司)': company,                    '部门': dept,                    '职位': title,                    '详细地址': address,                    '电子邮件': email                }                contacts.append(contact)            return contacts        except Exception as e:            raise Exception(f"解析VCF文件失败:{str(e)}")if __name__ == "__main__":    root = Tk()    app = VCFConverterApp(root)    root.mainloop()

下载地址:

https://wwbgc.lanzouv.com/inqyw3e7gwmf

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-04-11 13:38:42 HTTP/2.0 GET : https://h.sjds.net/a/492424.html
  2. 运行时间 : 0.098814s [ 吞吐率:10.12req/s ] 内存消耗:4,402.91kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=4a16f2f526c4868121700587a9a47ca2
  1. /yingpanguazai/ssd/ssd1/www/h.sjds.net/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/h.sjds.net/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/h.sjds.net/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/h.sjds.net/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/h.sjds.net/runtime/temp/ad153693ed39fba6d1bda2fe72512cde.php ( 12.06 KB )
  140. /yingpanguazai/ssd/ssd1/www/h.sjds.net/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000503s ] mysql:host=127.0.0.1;port=3306;dbname=h_sjds;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000738s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000315s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000297s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000599s ]
  6. SELECT * FROM `set` [ RunTime:0.000200s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000571s ]
  8. SELECT * FROM `article` WHERE `id` = 492424 LIMIT 1 [ RunTime:0.002255s ]
  9. UPDATE `article` SET `lasttime` = 1775885922 WHERE `id` = 492424 [ RunTime:0.004193s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 65 LIMIT 1 [ RunTime:0.000296s ]
  11. SELECT * FROM `article` WHERE `id` < 492424 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000933s ]
  12. SELECT * FROM `article` WHERE `id` > 492424 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.002422s ]
  13. SELECT * FROM `article` WHERE `id` < 492424 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.005324s ]
  14. SELECT * FROM `article` WHERE `id` < 492424 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.002484s ]
  15. SELECT * FROM `article` WHERE `id` < 492424 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.008572s ]
0.100335s