- 博客(11)
- 资源 (4)
- 收藏
- 关注
翻译 Python Tkinter 类
Tkinter ClassesWidget classesTkinter supports 15 core widgets:Tkinter 支持ButtonA simple button, used to execute a command or other operation.CanvasStructured graphics. This widget
2014-08-15 21:27:17 3230
翻译 Python Tkinter Hello, Again
Hello, AgainWhen you write larger programs, it is usually a good idea to wrap your code up in one or more classes. The following example is adapted from the “hello world”program in Matt Conw
2014-08-15 11:13:11 3305
翻译 Python Tkinter Hello,Tkinter
Hello, TkinterBut enough talk. Time to look at some code instead.As you know, every serious tutorial should start with a “hello world”-type example. In this overview, we’ll show you not
2014-08-13 17:53:58 1219
翻译 Python Tkinter 会话窗口
Dialog WindowsWhile the standard dialogs described in the previous section may be sufficient for many simpler applications, most larger applications require more complicated dialogs. For exa
2014-08-12 14:33:46 11049 1
翻译 Python Tkinter 标准会话
Standard DialogsBefore we look at what to put in that application work area, let’s take a look at another important part of GUI programming: displaying dialogs and message boxes.在 St
2014-08-12 14:00:19 1724
翻译 Python Tkinter 应用窗口
Application WindowsBase WindowsIn the simple examples we’ve used this far, there’s only one window on the screen; the root window. This is automatically created when you call the Tkconst
2014-08-11 17:16:10 3415
翻译 Python Tkinter 事件和映射
Events and BindingsAs was mentioned earlier, a Tkinter application spends most of its time inside an event loop (entered via the mainloop method). Events can come from various sources, inclu
2014-08-08 09:28:04 26958
翻译 Python Tkinter是什么
What's Tkinter?什么是Tkinter?The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit from Scriptics (formerly developed by Sun Labs).Both Tk and Tki
2014-08-07 16:57:52 5632
原创 Linux at命令的使用
命令功能:在一个指定的时间执行一个指定任务,只能执行一次,且需要开启atd进程(ps -ef | grep atd查看, 开启用/etc/init.d/atd start or restart; 开机即启动则需要运行chkconfig --level 2345 atd on)
2014-08-07 11:18:35 1017
原创 Python连接数据库
的# -*- coding:utf-8 -*-# file: PyMySQL.pyimport MySQLdbdb = MySQLdb.connect(host='localhost',user='root',passwd='unsvr2012',db='world')cur = db.cursor()r = cur.execute('select * from country')r
2014-08-06 15:45:29 496
原创 Python实现一个双色球生成程序
#coding=utf-8# filename: redball.pyimport randomimport math'这是一个彩票生成程序, 可以随机生成双色球和大乐透'class newBall: _redQuantity = 0 _blueQuantity = 0 _redMax = 0 _blueMax = 0 _oneRecord =
2014-08-06 15:39:15 8308
openldap-2.4.39
2014-05-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人