Last login: Sun Aug 10 21:07:51 on ttys001SandymatoMacBook-Pro:MySQL-python-1.2.4b4 sandy$ sudo python setup.py buildrunning buildrunning build_pycopy...
分类:
数据库 时间:
2014-09-05 23:43:02
阅读次数:
313
SELECT [DISTINCT|ALL]SELECT_LISTFROM TABLE_LIST[WHERE+CLAUSE][GROUP_BY_CLAUSE][HAVING CONDITION][ORDER_BY_CLAUSE]使用别名代替数据库中的字段名(AS可去除用空格,但不利于阅读)SELECT...
分类:
数据库 时间:
2014-09-05 23:33:42
阅读次数:
261
Python dictionaries are implemented ashash tables.Hash tables must allow forhash collisionsi.e. even if two keys have same hash value, the implementat...
分类:
编程语言 时间:
2014-09-05 22:21:42
阅读次数:
607
We have a sequence of N positive integers: a[0] through a[N-1]. You do not know these integers. All you know is the number of trailing zeros in their ...
分类:
其他好文 时间:
2014-09-05 22:21:12
阅读次数:
367
1、在cmd中输入“eventvwr”, 打开“Event Viewer”2、点击“Windows Logs”下的“Security”3、点击“Security”下的“Filter Current Log”4、在“All Events ID”处输入“4624”,代表登录事件5、点击每条过滤项,就可以...
分类:
其他好文 时间:
2014-09-05 21:05:01
阅读次数:
201
1.windows下安装python官网下载安装即可2.安装后的环境设置我的电脑--属性--高级--设置path的地方添加python安装目录,如C:\Python27;C:\Python333.多版本的切换三种方法:1)修改C:\Python27;C:\Python33内python.exe为py...
分类:
编程语言 时间:
2014-09-05 21:02:11
阅读次数:
509
Description
G - Probability
Time Limit: 1 sec
Memory Limit: 16MB
Consider rectangular coordinate system and point L(X,Y) which is randomly chosen among all points in the area A which is de...
分类:
其他好文 时间:
2014-09-05 19:58:32
阅读次数:
186
#-*-coding:utf-8-*-#python:2.x__author__='Administrator'importasynchat,asyncore,logging,socket#asyncore异步IO#作用:异常IO处理#功能是处理IO对象,如套接字,从而能异步管理这些对象(而不是多个...
分类:
编程语言 时间:
2014-09-05 19:52:11
阅读次数:
305
1.修改matplotlibrc文件进入Python安装目录下的Lib\site-packages\matplotlib\mpl-data目录,打开matplotlibrc文件,删除font.family和font.sans-serif两行前的#,并在font.sans-serif后添加微软雅黑字体...
flag = 1while 1: flag = flag + 1 if flag > 10: break try: f = open("file-not-exists", "r") except IOError,e: print(...
分类:
编程语言 时间:
2014-09-05 19:46:31
阅读次数:
232