Python
文章平均质量分 62
ilvseyinfu
http://qdujl.com
https://github.com/ilvseyinfu
展开
-
初学mysql & python & python链接数据库(mysql) & mysql for linux
推荐几个网站 : linux mysql 命令行操作: http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/10/18/2216279.html mysql 教程 :http://www.runoob.com/mysql/mysql-database-export.htmlpython 操作mysql 数据库原创 2016-06-30 17:29:27 · 305 阅读 · 0 评论 -
python -正则表达式
# Python - 正则表达式'''\d 可以匹配一个数字\w 可以匹配一个祖母或者数字: '00\d' 可以匹配 '007' 无法匹配 '00w': '\d\d\d' 可以匹配 '101': '\w\w\w' 可以匹配 'pyt'. 可以匹配任意字符串: 'py.' 可以匹配'pyc' 'python'要匹配变长的字符,用 * 表示任意个字符(包括0个), 用+ 表原创 2016-07-01 12:42:29 · 269 阅读 · 0 评论 -
四舍五入计算器,第一个python—gui程序
# test2.py# coding=utf-8def hello(b): c = int(b) if b - c >= 0.5: c = c + 1 else: pass; return c'''while 1: b = raw_input("Enter you num:") b = float(b) hello(b)'''# coding=utf-原创 2016-08-10 15:06:49 · 2347 阅读 · 0 评论