http://blog.csdn.net/wangshihui512/article/details/51100605#python 22 和 49行 与原文有所出处 如果添加了反而无法执行 可能和编码有关系 ...
分类:
编程语言 时间:
2017-02-12 21:24:05
阅读次数:
371
python作业: 要求: 1.三级菜单 2.选择可以依次进入子菜单 ...
分类:
编程语言 时间:
2017-02-12 21:18:50
阅读次数:
249
一、error:function (XMLHttpRequest, textStatus, errorThrown) { } (默 认: 自动判断 (xml 或 html)) 请求失败时调用时间。参数有以下三个:XMLHttpRequest 对象、错误信息、(可选)捕获的错误对象。如果发生了错误,错 ...
分类:
Web程序 时间:
2017-02-12 15:58:55
阅读次数:
203
一,session缓存 默认的不可配置 二,SessionFactory缓存 分两种 1,hibernate自带的缓存不可配置,hibernate启动时加载的,cfg.xml文件就属于这种 2,可以配置hibernate缓存,外置缓存 需要缓存插件,如EHcache 步骤: 1,添加 相关的jar ...
分类:
Web程序 时间:
2017-02-12 15:43:37
阅读次数:
159
#_*_coding:utf-8_*_#!/usr/bin/env python #取余/模a=10b=3print(a%3)x=1y=3print(x%3) #真正的除法/print(2/3)#地板除://,得到的结果是整数(商)print(2//3) #得0 #逻辑运算#逻辑与print(Tru ...
分类:
编程语言 时间:
2017-02-11 23:44:17
阅读次数:
190
#_*_coding:utf-8_*_#!/usr/bin/env pythoncount=0# while count<10:# print('==>',count)# count+=1 # while True:# print(' ') # for i in range(10):# print( ...
分类:
编程语言 时间:
2017-02-11 23:43:23
阅读次数:
181
# -*- coding:utf-8 -*- import multiprocessing import time def worker(interave): n=5 while n>0: print ('现在时间是{0}'.format(time.ctime())) time.sleep(inte... ...
分类:
系统相关 时间:
2017-02-11 13:44:56
阅读次数:
219
应客户要求将版本升级到安全版本。 http://struts.apache.org/download 官网下载地址。 http://struts.apache.org/[preferred]struts/2.3.31/struts-2.3.31-all.zip (2.3.31版本) 我将我更新的ja ...
分类:
其他好文 时间:
2017-02-10 20:05:36
阅读次数:
1182
Configure Fiddler Click Tools > Fiddler Options > Connections. Ensure that the checkbox by Allow remote computers to connect is checked. If you check ...
分类:
移动开发 时间:
2017-02-10 12:41:08
阅读次数:
772
1 import org.apache.commons.lang.StringUtils; 2 import org.apache.hadoop.conf.Configuration; 3 import org.apache.hadoop.hbase.*; 4 import org.apache.h... ...
分类:
其他好文 时间:
2017-02-09 22:12:57
阅读次数:
237