String slctpsql="select id ,"+uid+","+ddd+","+score+",'"+mark+"' ,"+markid+" ,"+exam.getId()+" from Test_Paper where testBaseId=(select id from Test_Base where baseTestId="+judgemap.get(i).getId()+" a...
分类:
数据库 时间:
2014-05-15 20:36:45
阅读次数:
434
看这个代码:
public class D
{
@Override
public String toString()
{
return "obj:"+this;
}
public static void main(String[] args)
{
System.out.println(new D());
}...
分类:
其他好文 时间:
2014-05-15 20:18:38
阅读次数:
277
libclang是一个提供了C接口的一个库,它让你可以轻松的把clang作为一个库去使用,这样的做法带来了很多的有点,且看本文的一点小论。...
分类:
其他好文 时间:
2014-05-15 20:13:21
阅读次数:
208
最近在做一个网络爬虫程序,后台使用python不定时去抓取数据,前台使用php进行展示
网站是:http://se.dianfenxiang.com...
分类:
编程语言 时间:
2014-05-15 19:49:12
阅读次数:
291
1、文件写入
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import
time
import
random
#打开模式列表:
#w 以写方式打开,
#a 以追加模式打开 (从 EOF 开始, 必要时创建新...
分类:
编程语言 时间:
2014-05-15 19:28:45
阅读次数:
507
packageday01;importjava.io.FileInputStream;importjava.io.InputStream;importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.ResultSet;importjava.sql.Statement;importjava.util.Properties;publicclassTestClassLoad{publicstaticvoidmain(String[]ar..
分类:
数据库 时间:
2014-05-15 19:13:52
阅读次数:
389
1、第三方库下载:PyPDF2、PythonMagick、Ghostscript。2、PythonMagick的官方下载链接为:http://www.p_w_picpathmagick.org/download/python/,需要自己编译;一个好用的非官方链接为:http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick。3、如果报下面这种错误,多..
分类:
其他好文 时间:
2014-05-15 19:09:22
阅读次数:
430
1、PIL包推荐Pillow。2、源码:#encoding=utf-8
#author:walker
#date:2014-05-15
#function:更改图片尺寸大小
importos
importos.path
fromPILimportImage
‘‘‘
filein:输入图片
fileout:输出图片
width:输出图片宽度
height:输出图片高度
type:输出图片类型(png,gif,jpeg.....
分类:
编程语言 时间:
2014-05-15 19:07:57
阅读次数:
266