求python 通讯录原代码
来源:百度知道 编辑:UC知道 时间:2024/06/03 00:20:33
我做的,文件信息保存在excel文件中,希望能帮助你,添加功能只需模仿就可以了
# -*- coding: cp936 -*-
import wx
import os
import copy
from mytools import Excell
wildcard = "note source (*.xsl)|*.xls|"\
"All files (*.*)|*.*"
class TestFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self,None,-1,"account input")
self.panel = wx.Panel(self)
self.topLbl = wx.StaticText(self.panel,-1,"帐户信息")
self.topLbl.SetFont(wx.Font(18,wx.SWISS,wx.NORMAL,wx.BOLD))
self.nameLbl = wx.StaticText(self.panel,-1,"姓名:")
self.name = wx.TextCtrl(self.panel,-1,"阮班勇")
self.addrLbl = wx.StaticText(self.panel,-1,"地址:")
self.addr = wx.TextCtrl(self.panel,-1,"")
self.addr2 = wx.TextCtrl(self.panel,-1,"")
self.cstLbl =