![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
净含量400克
让我在你的沉默中、安静无声......
展开
-
python GUI编程(Tkinter)简单使用
在界面中很重要的是布局,一开始在查找的的时候网上有很多都是下面这样: # -*- coding: utf-8 -*- from Tkinter import * root = Tk() # 设置位置窗体长x宽+x坐标+y坐标 root.geometry('80x80+10+10') # 填充方向 ''' Label(root, text = 'l1', bg = 'red').pack(原创 2017-05-02 09:56:19 · 667 阅读 · 0 评论 -
python定时器
只执行一次的定时器#!/usr/bin/python # -*- coding: UTF-8 -*- import threading def main(): myshow = threading.Timer(2,lambda :show("thime")) myshow.start() def show(text): print "hello"+str(text)原创 2017-05-02 13:27:17 · 607 阅读 · 0 评论