摘要: https://pythonguides.com/category/python-tutorials/python-tkinter/ from tkinter import * from tkinter.filedialog import asksaveasfile from tkinter imp 阅读全文
posted @ 2021-11-17 19:25 linbo.yang 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: from tkinter import * ws = Tk() ws.title("Python Guides") ws.geometry("200x200") name_variable = StringVar() password_var = StringVar() def submit(): 阅读全文
posted @ 2021-11-17 19:20 linbo.yang 阅读(37) 评论(0) 推荐(0) 编辑
摘要: https://pythonguides.com/python-tkinter-save-text-to-file/ from tkinter import * from tkinter.ttk import * ws = Tk() ws.title("Python Guides") ws.geom 阅读全文
posted @ 2021-11-17 16:42 linbo.yang 阅读(57) 评论(0) 推荐(0) 编辑
摘要: https://tkdocs.com/tutorial/firstexample.html Code 1 from tkinter import * 2 from tkinter import ttk 3 4 5 def calculate(*args): 6 try: 7 value = floa 阅读全文
posted @ 2021-11-17 10:55 linbo.yang 阅读(39) 评论(0) 推荐(0) 编辑