上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页
摘要: 我在旋转四面体的时候,发现了如下bug: 如果angle>180度,旋转时会压成平面以及其他的一些bug t = Tetrahedron() self.play(t.animate.rotate(angle=180*DEGREES,axis=np.array([0,1,0])), run_time= 阅读全文
posted @ 2022-07-09 19:35 树叶本子 阅读(48) 评论(0) 推荐(0)
摘要: var precontent = document.getElementById("preview").value; precontent.slice(2) = 'hello' 猜想是因为precontent类型是变量,而只有string才有slice方法 阅读全文
posted @ 2022-07-07 22:01 树叶本子 阅读(357) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') # 注意以下几种不能同时使用 tk.Label(window, text='side').pack( 阅读全文
posted @ 2022-07-05 23:15 树叶本子 阅读(25) 评论(0) 推荐(0)
摘要: import tkinter as tk from tkinter import messagebox window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') def hitme(): tk.mes 阅读全文
posted @ 2022-07-05 22:55 树叶本子 阅读(106) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') tk.Label(window, text='on the window').pack() # wi 阅读全文
posted @ 2022-07-05 22:45 树叶本子 阅读(86) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') def createnew(): l.config(text='you have created a 阅读全文
posted @ 2022-07-05 22:00 树叶本子 阅读(89) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') canvas = tk.Canvas(window, bg='green', height=100, 阅读全文
posted @ 2022-07-05 21:42 树叶本子 阅读(28) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') def printselection(): if var1.get() and var2.get() 阅读全文
posted @ 2022-07-05 21:32 树叶本子 阅读(30) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') def printselection(v): # scale会自动传入参数 l.config(tex 阅读全文
posted @ 2022-07-05 21:19 树叶本子 阅读(34) 评论(0) 推荐(0)
摘要: import tkinter as tk window = tk.Tk() window.title("daxiangcai's title") window.geometry('800x400') def printselection(): l.config(text='you have sele 阅读全文
posted @ 2022-07-05 21:06 树叶本子 阅读(27) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页