摘要: 1 from multiprocessing import Process,Queue 2 import os,time,random 3 4 5 def write(q): 6 print('Process to write:%s' % os.getpid()) 7 for value in ['A','B','C']: 8 print('P... 阅读全文
posted @ 2016-05-31 16:00 Lightening2 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Powershell脚本需要使用PS1扩展名 在加载脚本前需要确认是都有执行权限,默认是Restricted(受限的), 可以执行Get-ExecutionPolicy查看权限, 一般情况下使用 RemoteSigned (本地创建的脚本可以运行,有受信任发布者授权的签名脚本可以执行)。 AllSi 阅读全文
posted @ 2016-05-31 09:24 Lightening2 阅读(227) 评论(0) 推荐(0) 编辑