- 博客(7)
- 收藏
- 关注
翻译 Python subprocess 死锁
Popen.wait() 要防止死锁Warning: This will deadlock when using stdout=PIPE and/or stderr=PIPE and the child process generates enough output to a pipe such that it blocks waiting for the OS pipe buffer to acc
2016-01-15 18:11:23
640
原创 AXMLPrinter2的问题及jar export的版本问题
1,关于AXMLPrinter2的一个问题。AXMLPrinter并没有对XML中的字符做转义。例如,“&” 应该为转义字符的写法 "&"。所以AXMLPrinter反编译出来的XML,minidom解析时可能出错。2,关于java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0。这是因为高版
2015-03-28 18:56:12
1252
原创 mv unzip 的选项问题
unzip [-Z] [-cflptuvz[abjnoqsCLMVX$/:]] file[.zip] [file(s) ...] [-x xfile(s) ...] [-d exdir]mv: -n 不会覆盖同一文件系统,mv只是修改目录,重命名
2015-02-03 16:06:29
758
原创 Python getopt long_option小问题
有句话需要注意下,没看文档前被这个问题困扰了很久:Long options on the command line can be recognized so long as they provide a prefix of the option name that matches exactly one of the accepted options. For example, if long_options is ['foo', 'frob'], the option --fo will match a
2015-01-30 14:46:32
495
原创 bat脚本设置IP
set /p sel=请选择修改方式:if "%sel%"=="1" goto autoif "%sel%"=="2" goto homeif "%sel%"=="3" goto company
2014-06-30 14:07:40
502
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人