Title: Signature.html
Yes, good, but I tried
myProg = call([r"C:\Sandia_Meteors\Various\FuzzyLogic\wolf", "-h"]),
and get exactly the same results.
A.T.Hofkamp wrote:
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
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
“Life is one damn thing after another."
-- Mark Twain
|
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor