Python
「已注销」
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python实现Ubuntu上数据及mysql备份
转载:http://www.higis.org/2012/04/23/python-ubuntu-mysql-databack/在Ubuntu服务器上部署了python的监控脚本后,今天继续数据及mysql备份的实现。今天一天手机就准时收到了服务器发来的邮件,报告内存及硬盘等信息,发现512的内存还真是比较吃力,使用内存一会就跑到了400多M.还想着看能否再跑个mongodb…,看来真是得转载 2012-09-27 14:59:30 · 575 阅读 · 0 评论 -
python-gtk-3-tutorial(1)
Getting StartedFile:simple_example.py#!/usr/bin/pythonfrom gi.repository import Gtkwin = Gtk.Window()win.connect("delete-event", Gtk.main_quit)win.show_all()Gtk.main()Let me explain:原创 2012-11-28 17:43:29 · 698 阅读 · 0 评论 -
python-gtk-3-tutorial(2)--"Print hello world"
File:HelloWorld.py#!/usr/bin/pythonfrom gi.repository import Gtkclass MyWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title="Hello World") self.button原创 2012-11-29 13:37:29 · 709 阅读 · 0 评论 -
python-gtk-3-tutorial(3)----基础
1 主循环与信号 GTK+采用基于事件驱动的编程模式,GTK+的主循环会等待用户的动作,当用户有所动作时,主循环会被事件唤醒,事件会被传递到GTK+。handler_id = widget.connect("event", callback, data)connect函数对事件信号和相应该事件动作的函数的绑定。返回一个数字。widget是先前已经创建好的Widge原创 2012-11-29 20:59:37 · 1044 阅读 · 0 评论 -
ubuntu12.04下使用python-webqq
python-webqq是基于python、python-webkit包装的webqq桌面版。以下是其的两种安装方法:方式一:1安装依赖sudo apt-get install python-notify python-keybinder python-ctypeslib python-webkit python-glade22获取pywebqq原创 2012-11-29 22:25:42 · 2082 阅读 · 0 评论 -
python资源
排名不分先后顺序,哈哈。1 PyGTKhttp://www.pygtk.org/2 pthon-gtk-3-tutorialhttps://python-gtk-3-tutorial.readthedocs.org/en/latest/index.html3 python-webkithttp://www.gnu.org/software/pythonwebkit/原创 2012-11-29 22:35:39 · 457 阅读 · 0 评论 -
python 获取当前时间
转自:http://www.cnblogs.com/wanpython/archive/2010/08/07/1794598.html我有的时候写程序要用到当前时间,我就想用python去取当前的时间,虽然不是很难,但是老是忘记,用一次丢一次,为了能够更好的记住,我今天特意写下python 当前时间这篇文章,如果你觉的对你有用的话,可以收藏下。取得时间相关的信息的话,要用到py转载 2012-12-19 13:30:22 · 380 阅读 · 0 评论
分享