标签: python-3.x shutil
让我们说我想确定Powershell上多个可执行文件的位置,我会使用Get-Command python, git(Get-Command是Unix which之类的命令)
Get-Command python, git
Get-Command
which
是否有任何方法/解决方法,可以在不使用模块shutil即shutil.which(cmd1, cmd2, cmd3)进行彻底循环(传递多个cmd参数)的情况下归档同一件事?还是有其他具有该功能的模块?
shutil
shutil.which(cmd1, cmd2, cmd3)