摘要: '''Created on Feb 7, 2013@author: changxue@summary: personal utils'''import os, time, shutil#current_time = time.strftime('%Y-%m-%d_%H%M', time.localtime(time.time()))current_time = time.strftime('%Y-%m-%d', time.localtime(time.time()))logfile = os.path.join(& 阅读全文
posted @ 2013-02-22 17:05 道以万计 阅读(685) 评论(0) 推荐(0)
摘要: '''Created on Feb 22, 2013@author: changxue@summary: aim: generate jar file path: 1. copy original jar to target dir 2. java t... 阅读全文
posted @ 2013-02-22 17:03 道以万计 阅读(1544) 评论(0) 推荐(0)
摘要: '''Created on Feb 22, 2013@author: changxue@summary: extract all archive files in src_dir into target_dir'''import os, shutil_list_postfix = ['.rar', '.zip', '.jar']tool_path = os.path.join(r'C:\Program Files\7-Zip')from common_util import _cre 阅读全文
posted @ 2013-02-22 17:01 道以万计 阅读(1926) 评论(0) 推荐(0)
摘要: python3: https://docs.python.org/3/library/csv.html 阅读全文
posted @ 2013-02-22 17:00 道以万计 阅读(206) 评论(0) 推荐(0)