- 博客(5)
- 资源 (4)
- 收藏
- 关注
原创 read excel files with python and xlrd
#coding=utf-8#!/usr/bin/pythonimport xlrddata = xlrd.open_workbook('160321.xls')table = data.sheets()[0]a=table.col_values(3)print(a[1])print(a[2])b=float(a[1])+float(a[2])print(b)print(tab
2016-03-28 07:44:45 372
原创 extract things from excel files.
#coding=utf-8#!/usr/bin/pythonimport osfrom glob import globimport reimport xlrdfo = open("foo.csv", "a+") def isDigit(my_str): try: float(my_str) except ValueError:
2016-03-28 07:43:14 333
原创 extract things from text files
#coding=utf-8#!/usr/bin/pythonimport osfrom glob import globimport refo = open("foo.csv", "a+") def isDigit(my_str): try: float(my_str) except ValueError:
2016-03-27 11:32:39 279
原创 python简单浮点数匹配
>>> import re>>> m=re.findall('\d+\.\d+','-A213330.00-0.13')>>> m['213330.00', '0.13']>>> len(m)2>>> m=re.findall('[-]\d+\.\d+','-A213330.00-0.13')>>> m['-0.13']>>> m=re.findall('[-]
2016-03-27 09:15:37 4346
原创 looking for thunder link
#! encoding=gbkimport refile_object = open('1.txt')f = open("2.txt","w")for line in file_object: m = re.findall('(thunder(.+)pa)',line) if m: print >> f,m[0][0];f.close()file_
2016-03-26 21:25:13 1143
Scratch Games Scratch游戏.zip
2021-02-14
TensorFlow:图像视频物体识别API例程用到的tutorial1
2018-02-25
TensorFlow:Object_Detection_API图像视频物体识别API例程用到的model
2018-02-25
TensorFlow:Object_Detection_API图像视频物体识别API例程用到的tutorial
2018-02-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人