随笔分类 - python
摘要:1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'Mainform.ui' 4 # 5 # Created by: PyQt5 UI code generator 5.11.2 6 # 7 # WARNING! All changes made in...
阅读全文
摘要:1 # -*- coding: utf-8 -*- 2 from Mainform import Ui_Frame 3 4 import sys 5 from PyQt5.QtWidgets import QApplication, QMainWindow,QFrame,QProgressDialog,QMessageBox,QWidget 6 from PyQt5.QtCore ...
阅读全文
摘要:1 def OnDeleteClick(self, event): 2 import os 3 dlg = wx.FileDialog(self,message=u"保存文件", 4 defaultDir=os.getcwd(), 5 ...
阅读全文
摘要:# -*- coding: utf-8 -*- __author__ = 'Alon' __date__ = '2017/8/14 18:38' import sys reload(sys) sys.setdefaultencoding('utf8') import smtplib import time from datetime import datetime from email.mim...
阅读全文
摘要:1 # -*- coding:utf-8 -*- 2 3 import os 4 import sqlite3 5 import sys 6 reload(sys) 7 sys.setdefaultencoding('utf8') 8 9 def get_con(func): 10 data_path = r'../db.sqlite3' 11 def s...
阅读全文
摘要:from xlrd import open_workbookfrom xlutils.copy import copyimport sysreload(sys)sys.setdefaultencoding('utf-8') def replaceexcel(file_path,replacedic)
阅读全文
摘要:# -*- coding: utf-8 -*-__author__ = 'Alon'__date__ = '2017/2/9 22:43'import Tkinterimport tkFileDialogclass MainFrame(Tkinter.Frame): def __init__(sel
阅读全文

浙公网安备 33010602011771号