I am trying to call a batch file from Python 3.5:
The contents of the batch file are:
DataConverter.exe "\\BARYON-RL\MarketData\Raw\CFFEX\20161107" ".*.csv" "%MarketData%\CFFEX" "format_data_cffex_ctp.json" "HDF5"
The batch file runs fine when I run it manually so there is no problem there; however, when I run it in Python 3.5 using:
call('C:\\Users\\HP\\Dropbox\\TeamFolder\\Data\\Convert_Data_HDF5_SHFE_CTP.bat')
I get the error:
'DataConverter.exe' is not recognized as an internal or external command'
Why won't it work because I call if from Python?