在使用的是 Template(open(file)) 引入的 html, 在处理静态文件的时候,怎么处理图片?可以这样:def imgFile(environ, start_response): ext = environ['PATH_INFO'].split('.') for n in...
分类:
编程语言 时间:
2014-07-03 06:39:21
阅读次数:
220
测试了两个case,属于之前blog的遗留问题: innodb如何加载数据字典 flush tables都做了什么操作先来看下innodb加载数据字典: 首次使用:select * from tt;1. 创建handler对象函数调用栈: open_binary_frm ...
分类:
数据库 时间:
2014-07-03 06:21:07
阅读次数:
318
/* * * Copyright (c) International Business Machines Corp., 2001 * * This program is free software; you can redistribute it and/or modify * it...
分类:
其他好文 时间:
2014-07-02 23:25:51
阅读次数:
282
读取文件:#直接读取for line in open("d:\serverlist.txt"): print(line)#使用readline()方法读取file = open('d:\serverlist.txt')line = file.readline()while line:print...
分类:
其他好文 时间:
2014-07-02 23:06:01
阅读次数:
173
//主窗体//与open的区别:1、参数二是传递的参数 2、属性设置格式:属性=属性值; 3、dialogHeight与dialogWidth没有单位,即需要自己加上px//window.showModalDialog//("modalDialog.html",window,"dialogHeigh...
微软近期Open的职位:SDE2 (Windows - Power)Windows Partner Enablement team in Operating System Group is looking for a Software Development Engineer (SDE) in Sh...
分类:
其他好文 时间:
2014-07-02 14:23:03
阅读次数:
210
当 Adobe、Microsoft、Sun 等一系列巨头开始表现出对”开源”的青睐时,”开源”的时代即将到来!现今存在的开源协议很多,而经过 Open Source Initiative 组织通过批准的开源协议目前有 58 种(http://www.opensource.org/licenses/a...
分类:
其他好文 时间:
2014-07-02 14:06:56
阅读次数:
208
一、EasyUI$的window('open')在IE8下兼容性问题 今天在公司使用EasyUI的$('#win').window('open');方法打开一个window窗体时发现EaysUI的脚本在IE8下执行时出现不兼容的情况HTML代码如下: 1 批量导入用户 2 3 6 ...
分类:
Web程序 时间:
2014-07-02 10:38:14
阅读次数:
334
//主窗体//F:/2.html页面function show(){//获得主窗体对象中的id为txt的控件value,并且为其赋值window.opener.document.getElementById("txt").value= document.getElementById("text")....
分类:
其他好文 时间:
2014-07-02 10:00:06
阅读次数:
160
当一个project刚从git server端clone下来并open后,也许你会发现在Android Studio的右下角看不到当前是哪个branch的信息,如下图:
原因分析:不显示的原因是因为你当前的Android Studio默认版本控制工具不是Git,只要设置成Git就可以了,设置的具体方式在这边篇文章中已经讲了Android
Studio右键选项中没有Git?
设置完成...
分类:
移动开发 时间:
2014-07-02 08:04:22
阅读次数:
284