赞
踩
def selectinputPath():
input_path = asksaveasfilename()
inputpath1 = inputpath.set(input_path)
print(input_path)
显示如下:
def selectinputPath():
input_path = askopenfilename()
inputpath1 = inputpath.set(input_path)
print(input_path)
显示如下:
def selectinputPath():
input_path = askdirectory()
inputpath1 = inputpath.set(input_path)
print(input_path)
显示如下:
代码如下:
from tkinter import *
import tkinter.messagebox as messagebox
from tkinter.filedialog import *
import time
import os
import shutil
currentTime = time.strftime('%Y%m%d') #定义时间
def save_Filename():
saveas_filename = asksaveasfilename()
save_filename1 = save_filename.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。