I am getting FileNotFoundError: [WinError 2] The system cannot find the file specified
from subprocess import check_output
out = check_output([r'dir',r'C:\Users\Lenovo\Downloads\WS*'])
Directory of C:\Users\Lenovo\Downloads
04-02-2014 20:59 11,682,838 WS BPEL 2.pdf
09-04-2015 04:22 7,758,832 WS-BPEL 2.0 Beginners Guide.epub
10-04-2015 20:33 19,605,151 WS-BPEL 2.0 Beginners Guide. Juric.pdf
16-08-2015 18:58 <DIR> WSDL
3 File(s) 39,046,821 bytes
1 Dir(s) 243,993,673,728 bytes free
What am i doing wrong here