涉及到如下方面 txt文本的读取,utf8的处理 字符串的基本操作 dict的基本操作 list(数组)的基本操作 #!/usr/bin/python #print "H…
# -*- coding:utf-8 -*- class Solution: def NumberOf1(self, n): if n>=0: nbin = bin(n) c…
#!/usr/bin/env python #-*-coding:utf-8-*- """ 从 cp.360.cn 同步时时彩的数据到表 haoma """ import date…
import urllib2,re for key in open('key.txt'): do = "http://suggest.taobao.com/sug?code=utf…
class Solution: def FindGreatestSumOfSubArray(self, array): if not array: return 0 rest = …
# # _*_ coding:UTF-8 _*_ __author__ = 'wp' import win32api import win32con import win32gui…
#!/usr/bin/env python #coding:utf8 # Author : tuxpy # Email : q8886888@qq.com # Last modif…
#!/usr/bin/python """ --------------------------------------------------------------------…
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Author : Mr.LiuYC Created on 2014-09-30 …
# _*_ coding:utf-8 _*_ #xiaohei.python.seo.call.me:) #win+python2.7.x number = "1350571" w…
from CAL.PyCAL import Date start = '2010-01-01' # 回测起始时间 end = '2015-05-05' # 回测结束时间 bench…
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: mllyn # @Date: 2014-12-31 15:26:5…