最近研究的,我用的是python3.3,
用matplotlib画图,下面代码演示分析pcm文件,如果是wave文件,把wave的文件头去掉就是pcm文件了。代码如下 1 # -*-
coding:utf-8 -*- 2 3 import array 4 import os 5 from matp....
分类:
编程语言 时间:
2014-05-28 04:39:05
阅读次数:
495
1.对序列进行分组的函数(摘自web.py源码utils.py文件中) 1 def
group(seq, size): 2 """ 3 Returns an iterator over a series of lists of length
size from iterable. ...
分类:
编程语言 时间:
2014-05-28 04:21:00
阅读次数:
365
You are given a string,S, and a list of
words,L, that are all of the same length. Find all starting indices of
substring(s) in S that is a concatenati...
分类:
其他好文 时间:
2014-05-28 04:03:54
阅读次数:
240
原题地址:https://oj.leetcode.com/problems/climbing-stairs/题意:You
are climbing a stair case. It takesnsteps to reach to the top.Each time you can
either cl...
分类:
编程语言 时间:
2014-05-28 03:27:49
阅读次数:
267
一、python中的函数参数形式 python中函数一般有四种表现形式: 1、def
function(arg1, arg2,
arg3...)这种是python中最常见的一中函数参数定义形式,函数参数之间用逗号分隔,调用的时候的参数必须与定义的时候相同,且参数顺序与形参一一对应。def
myfun...
分类:
编程语言 时间:
2014-05-28 03:15:24
阅读次数:
204
原题地址:https://oj.leetcode.com/problems/minimum-path-sum/题意:Given
amxngrid filled with non-negative numbers, find a path from top left to bottom
right w...
分类:
编程语言 时间:
2014-05-28 03:03:13
阅读次数:
320
前几天生病加懒惰
TAT==========================================================================1.getAttribute()方法是一个函数。它只有一个参数——你打算查询的属性的名字:2.http://www.cnblog...
分类:
编程语言 时间:
2014-05-27 17:39:54
阅读次数:
216
第一步:sqlmap基于Python,所以首先下载:http://yunpan.cn/QiCBLZtGGTa7U 访问密码
c26e第二步:安装Python,将sqlmap解压到Python根目录下;第三步:小试牛刀,查看sqlmap版本:python
sqlmap/sqlmap.py -h第四步:...
分类:
数据库 时间:
2014-05-27 16:27:17
阅读次数:
448
Aggregate production is the basic raw material
for the building, only select those high standards and high qualified aggregate
to build a hundred year...
分类:
其他好文 时间:
2014-05-27 16:26:36
阅读次数:
257
(1)Refers to the "actual data" in a packet or
file minus all headers attached for transport and minus all descriptive
meta-data. In a network packet, ...
分类:
其他好文 时间:
2014-05-27 15:39:17
阅读次数:
277