Realize the unix command by python