[Tutor] EXECUTING PYTHON AND SQL STAMENTS
alan.gauld at btinternet.com
Tue Oct 5 20:22:08 CEST 2010
"Susana Iraiis Delgado Rodriguez" <susana.delgado_s at utzmg.edu.mx>
> it throws me that "C:/Archivos" is not recognized as an executable
> or internal command, programm or file.
You can only use / in paths used by Python.
You are passing this to the CMD processor via os.system so CMD
It expects / to indicate a command option (/? for example) You need to
use \ in
paths passed to CMD.
PS I just noticed you switched to subprocess so this is now somewhat
More information about the Tutor