Some tools of Python for self-use.
Python 3.5.0
This file includes some tools used as system scripts.
*Warning: In Windows, the script will stop if certain command crashes because of the Program Compatibility Assistant Service.
class multiCommand: run several commands with process pool.
def __init__(self,cmds,maxpool):
:param cmds: List of cmd. Every cmd is in form of subprocess.Popen()
:param maxpool: the maximum amount of process running at the same time
:return: None
def run(self):
run the commands.
:return: List of command output in order of self.cmds
This file includes some tools which looks useless :J
def pic2