On Sun, 21 Aug 2005 13:41:14 -0400, Eric Lavigne <[EMAIL PROTECTED]>  
wrote:

>> A shorter python program would be:
>>
>>   os.command("debug\\curve-fit <input.txt >output.txt")
>
> I tried this program:
>   import os
>   os.command("debug\\curve-fit <input.txt >output.txt")
>
> My error message is:
>   AttributeError: 'module' object has no attribute 'command'
>
> I also could not find os.command in the help files. My Python version
> is 2.4 (latest is 2.4.1, just a bug-fix release).
>

I imagine thats was a typo for:

>>> os.system("debug\\curve-fit <input.txt >output.txt")

Alan


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to