摘要: 超大文件的copy一 几G或几十G的文件的copy例如需要拷贝exe,iso到远程的机器上,我们可以使用如下的方法: 多线程copy:1) split + copy + cat [split and cat are Linux command, you can get them from UnxUtils]2) zip(into many parts) + copy + unzip [or can use 7z instead of zip]增量copy:3) rsync [incrementally transfer]二 几百G上至上T的文件的copy例如数据库文件等得备份,需要对copy工 阅读全文
posted @ 2011-06-10 20:01 iTech 阅读(2114) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.linuxany.com/archives/1563.htmlPython 动态加载模块的3种方法 1,使用系统函数__import_() stringmodule = __import__('string') 2,使用imp 模块 import impstringmodule = imp.load_module('string',*imp.find_module('string')) 3,使用exec import_string = "import string as stringmodule" 阅读全文
posted @ 2011-06-10 18:56 iTech 阅读(3151) 评论(0) 推荐(0) 编辑