最近研究的,我用的是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 #!/bin/bash 2 #查询 3 echo -e 4 for i in `cat
id.txt` 5 do 6 A=`mysql -h10 -uw -p2012 -Ne "select Id,Name,User_Logindate from
info where Id=$i"`...
分类:
数据库 时间:
2014-05-27 18:08:04
阅读次数:
341
方法一:DELETE
语句要记录对每行的删除操作。不会把数据完全删除,只是标注起来。delete from tablename where 1=1方法二:TRUNCATE TABLE
语句是一种快速、无日志记录的方法;只记录整个数据页的释放。Truncate Table tablename
分类:
数据库 时间:
2014-05-27 17:57:22
阅读次数:
352
earn essential techniques from data warehouse
legend Bill Inmon on how to build the reporting environment your business needs
now!Answers for many val...
分类:
其他好文 时间:
2014-05-27 17:47:41
阅读次数:
361
20140526-一个从pdf转换成图片的类,工作当中有用到 package
com.jako.database.model; import java.awt.Image; import java.awt.Rectangle;
import java.awt.image.BufferedImage;...
分类:
其他好文 时间:
2014-05-27 17:11:55
阅读次数:
368
select `id`,`name`,`pid` AS `q_pid`,(select id
From qiyu_gift_category where id = q_pid ) as root_id from qiyu_gift_category
WHERE id = 1SELECT `id` ....
分类:
其他好文 时间:
2014-05-27 16:59:40
阅读次数:
218
1 判断数据库是否存在Sql代码 if exists (select * from
sys.databases where name = ’数据库名’) drop database [数据库名] if exists (select * from
sys.databases where name =....
分类:
数据库 时间:
2014-05-26 18:25:37
阅读次数:
312
1技术原理编辑索引是对数据库表中一个或多个列(例如,employee 表的姓氏 (lname)
列)的值进行排序的结构。如果想按特定职员的姓来查找他或她,则与在表中搜索所有的行相比,索引有助于更快地获取信息。例如这样一个查询:select * from
table1 where id=10000。如...
分类:
其他好文 时间:
2014-05-26 17:39:26
阅读次数:
351
A Stack is a data-structure that You can only add
an element to the top of the Stack, andYou can only read or remove an element
also from the top.Plea...
分类:
编程语言 时间:
2014-05-26 17:10:21
阅读次数:
540
Oracle 客户端安装 +
pl/sql工具安装配置下载oracle客户端,并在本地安装。11g下载地址为:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html10g下载地址为:http...
分类:
数据库 时间:
2014-05-26 17:08:11
阅读次数:
383