python中self.bell()的例子,代码如下:
#!/bin/python from Tkinter import * class Alarm(Frame): def __init__(self): Frame.__init__(self) self.bell() if __name__ == '__main__': Alarm().mainloop()
CopyRight © 2010-2021 脚本学堂 Jb200.com , All Rights Reserved.