摘要:
在学习python中的多进程时,发现如下代码子进程中的print无法打印出来, 在采用pdb调试时,发现每一步都走到了,感觉像是没显示出来,于是采用写文件的 方式,发现子进程的输出被写到文件中了,原来是ide不支持输入; from multiprocessing import Process imp 阅读全文
摘要:
</pre <pre name="code" class="cpp" include <stdio.h int fun2(int x, int y, int z){ int i = x + y; int j = y + z; int k = i + j; return k;} int fun1(in 阅读全文
摘要:
常用linux命令 一.文件目录类命令: 1.命令名称:ls,命令英文愿意:list; ls -a 显示所有文件,包括隐藏文件 ls -l 详细信息显示 ls -d 查看目录属性 2.命令名称:pwd,命令英文原义print working directory, 显示当前所在的工作目录 3.命令名称 阅读全文