上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 66 下一页
摘要: $sudo easy_install PILWARNING: '' not a valid package name; please use only.-separated package names in setup.py_imaging.c:75:20: fatal error: Python.... 阅读全文
posted @ 2014-07-05 14:24 yshy 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 1:源代码#!/usr/bin/env pythonname = raw_input('请输入您的姓名:')print 'Hello,', name运行时出错:y@y:~/my_note/my_python$ python 5.py File "5.py", line 3SyntaxError:... 阅读全文
posted @ 2014-07-04 15:08 yshy 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1:测试数据库表usermysql> desc user$$+-------+-------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra ... 阅读全文
posted @ 2014-07-02 15:29 yshy 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: #include#includechar *find_char(char const *source_str, char const *desc_str);int main(void){ char *source_str = "ABCDEF"; char *desc_str = "MMD... 阅读全文
posted @ 2014-06-29 10:28 yshy 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1:MyServicepublic class MyService extends IntentService{ AlarmManager alarmManager = null; PendingIntent alarmIntent = null; public MySe... 阅读全文
posted @ 2014-06-24 13:48 yshy 阅读(2295) 评论(0) 推荐(0) 编辑
摘要: 需要以下jar包:---log4jcommons-loggin-1.1.1.jarlog4j-1.2.16.jar---mysqlmysql-connector-java-5.1.15-bin.jar---log4j.properties配置内容log4j.rootLogger=INFO,DATAB... 阅读全文
posted @ 2014-06-19 15:32 yshy 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 例如在mysql中的一张表中存在一个字段opr_time为datetime类型,在JDBC 中通过rs.getString("opr_time");来获取使会在日期后面添加".0",例如日期为:2014-06-01 12:10:20 查询出来为:2014-06-01 12:10:20.0解决方法:通... 阅读全文
posted @ 2014-06-06 17:16 yshy 阅读(3842) 评论(0) 推荐(0) 编辑
摘要: iText下载链接:http://sourceforge.net/projects/itext/files/会有两个文件夹:extrajars中的extrajars-2.3.jar文件用于解决中文不显示的问题。将下载的itext-5.5.1文件解压之后,将itextpdf-5.5.1.jar导入就可... 阅读全文
posted @ 2014-05-31 10:59 yshy 阅读(3161) 评论(0) 推荐(0) 编辑
摘要: 实例代码如下: String str = null; String uSelectDate = String.valueOf(str); System.out.println("==================uSelectDate:"+uSelectD... 阅读全文
posted @ 2014-05-28 08:20 yshy 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 要想让 tooltip生效必须:Ext.QuickTips.init(); 阅读全文
posted @ 2014-05-21 14:24 yshy 阅读(490) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 66 下一页