Wayne Watson wrote:
Good. Thanks.

Here's my code.
==========
# Executing a Linux program under Win XP
from subprocess import call
myProg = call(["C:\Sandia_Meteors\Various\FuzzyLogic\wolf", "-h"])

You must always escape \ characters in a string.

do r"C:\Sandia_Meteors\Various\FuzzyLogic\wolf",
"C:\\Sandia_Meteors\\Various\\FuzzyLogic\\wolf", or
"C:/Sandia_Meteors/Various/FuzzyLogic/wolf"


Albert
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to