I execute the powershell command line statement in python3.8,
import subprocess subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)
import subprocess
subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)
The running result is: 'select' is not an internal or external command, nor an executable program or batch file.
'select' is not an internal or external command, nor an executable program or batch file.