import osimport timesource= r"out_res.txt"target_dir= r"F:\python\Doc"target=target_dir+time.strftime('%Y%m%d%H%M%S')+'.zip'zip_commond="makecab %s %....
分类:
编程语言 时间:
2014-07-23 12:39:46
阅读次数:
236
一、ant关键元素1. project元素 project 元素是 Ant 构件文件的根元素, Ant 构件文件至少应该包含一个 project 元素,否则会发生错误。在每个 project 元素下,可包含多个 target 元素。接下来向读者展示一下 project 元素的各属性。1)name属性...
分类:
其他好文 时间:
2014-07-23 12:14:26
阅读次数:
360
The processing instruction target matching "[xX][mM][lL]" is not allowed.问题描述原因及解决方法XML第一行没有写而直接写了第二行,XML前面空行或者有空格都会导致匹配错误。[I18N] Hardcoded string "3"...
分类:
移动开发 时间:
2014-07-23 12:09:16
阅读次数:
194
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-07-23 12:03:26
阅读次数:
287
用cocos2d-x获取系统时间,格式为年月日时分秒:void GetTime(float dt) { struct tm *tm;#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) //win32平台 time_t timep; ...
分类:
其他好文 时间:
2014-07-22 23:06:32
阅读次数:
355
题目:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array w...
分类:
编程语言 时间:
2014-07-22 22:41:14
阅读次数:
396
利用js打开一个新页面,而不是一个新窗口。在网上各种东西啊,蛋疼了半天,还白疼了。。后来看到a标签有target属性,然后又发现window.open()的第二个参数是target,然后我笑了(er'zhe)w3school上的target属性,点我,大家可以打开新页面了,也可以打开新窗口了。我只写...
1、游戏对象新建默认位置是Scene视图中心位置坐标;;Component:游戏对象实现其用途的功能件;游戏对象都有Transform组件;给游戏对象添加组件Ctrl+Shift+A;2、7类组件:空对象添加组件后形成游戏对象;命名要规范统一;Mesh类组件(MeshFilter网格过滤器、TextMesh文字网格、..
分类:
其他好文 时间:
2014-07-22 18:12:02
阅读次数:
448
实验平台:RHEL5.8RHEL6.4实验环境:node1--node9的内网IP分别对应10.32.9.51--10.32.9.5924位掩码node6node7对应一个虚拟外网IP100.100.100.1/32实现功能:1、利用iscsi协议、集群文件系统gfs2、clvm集群逻辑卷、cman集群传输层协议为web服务器提供共享存储。2、node1node2nod..
分类:
其他好文 时间:
2014-07-22 14:58:54
阅读次数:
513