摘要:
# -*- coding: utf-8 -*- import tkinter as tk from tkinter import filedialog, messagebox, simpledialog from PIL import Image, ImageTk import math from 阅读全文
摘要:
同样使用面向对象设计方法,定义一个tk.Frame派生类,class PlotCurve(tk.Frame)。此类在窗口中作为一个控件显示。 # -*- coding: utf-8 -*- """ 使用matplotlib绘制图形,并在窗口中显示 """ import tkinter as tk f 阅读全文
摘要:
# 引用模块 import tkinter as tk from tkinter import ttk #引用文件 import log import animation_page as act_plot # 应用主窗口类 class MainWindow(tk.Tk): def __init__( 阅读全文