摘要:
1. python界面设计步骤 # 1) 导入库 import PySimpleGUI as sg # 2) 定义布局,确定行数以及每行信息 layout = [ [sg.Text('请输入您的信息:')], [sg.Text('姓名'), sg.InputText('程序员XXX')], [sg. 阅读全文
2023年6月12日 #
摘要:
一、文件读取 python办公自动化,会用到xlrd库,所以需要先安装xlrd库。 import xlrd wb=xlrd.open_workbook('招生表.xls') # 读取工作簿 ws=wb.sheets() # 文件sheets包含项,列表式的键值对 print(ws) wsname=w 阅读全文