![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python的最开始的入门
库玛剑客
加载中... ...
展开
-
【python】用Python写一段音乐(winsound)
什么是winsound winsound模块提供对Windows平台的基本声音播放功能的访问 from winsound import Beep def sound(): Beep(880,250) Beep(988,250) Beep(523*2,600) Beep(988,300) Beep(523*2,600) Beep(659...原创 2019-02-18 23:07:14 · 6602 阅读 · 3 评论 -
python tkinter 血条实现
不多说了上代码 #血条测试实验 import tkinter as tk win = tk.Tk() win.title('血条测试') win.geometry('300x300') hp = 80 label = tk.Label(bg = "red",width = 80) label.place(relx = 0,rely = 0) label1 = tk.Label(bg = "blue...原创 2019-04-22 12:54:13 · 2066 阅读 · 0 评论