1 def OnDeleteClick(self, event): 2 import os 3 dlg = wx.FileDialog(self,message=u"保存文件", 4 defaultDir=os.getcwd(), 5 ... ...
分类:
编程语言 时间:
2018-04-18 00:56:34
阅读次数:
158
一、单文件 python3: 1 import tkinter as tk 2 from tkinter import filedialog 3 4 root = tk.Tk() 5 root.withdraw() 6 7 file_path = filedialog.askopenfilename ...
分类:
编程语言 时间:
2018-04-10 16:06:56
阅读次数:
307
相关内容: messagebox 介绍 使用 filedialog 介绍 使用 首发时间:2018-03-04 22:18 messagebox: 介绍:messagebox是tkinter中的消息框、对话框 使用: 导入模块:import tkinter.messagebox 选择消息框的模式: ... ...
分类:
编程语言 时间:
2018-03-04 22:57:36
阅读次数:
3990
fileDialog.Filter = "hex文件|*.hex;*png|文本文件|*.txt|其他|*"; 标签|*.jpg|标签|*.txt ...
分类:
其他好文 时间:
2018-01-22 10:59:20
阅读次数:
105
#压缩软件 import tkinter import tkinter.messagebox import zipfile import tkinter.filedialog import os class zip: files=() def __init__(self): self.root=tk... ...
分类:
其他好文 时间:
2017-12-10 18:54:18
阅读次数:
241
import tkinter import tkinter.filedialog import zipfile import os import tkinter.messagebox #压缩软件 class zipc: #界面布局方法 def __init__(self): #创建主界面 并保存到成 ...
分类:
其他好文 时间:
2017-12-01 20:43:05
阅读次数:
132
功能:把多个工作簿的第一个工作表合并到一个工作簿的多个工作表,新工作表的名称等于原工作簿的名称 Sub Books2Sheets() '定义对话框变量 Dim fd As FileDialog Set fd = Application.FileDialog(msoFileDialogFilePick ...
分类:
其他好文 时间:
2017-08-30 18:31:30
阅读次数:
127
Public Sub StartRecursionFolder() Dim Pre As Presentation Dim FolderPath As String Dim pp As String Dim id As String Dim oFileDialog As FileDialog Set... ...
分类:
编程语言 时间:
2017-07-09 20:59:02
阅读次数:
150
消息框 导入 提示消息框 消息警告框 错误消息框 对话框 filedialog ...
分类:
编程语言 时间:
2017-06-25 16:14:05
阅读次数:
726