"Susana Iraiis Delgado Rodriguez" <susana.delgad...@utzmg.edu.mx> wrote

it throws me that "C:/Archivos" is not recognized as an executable external
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 complains. It expects / to indicate a command option (/? for example) You need to use \ in
paths passed to CMD.

HTH,

Alan G.

PS I just noticed you switched to subprocess so this is now somewhat academic!


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to