last line chopped from input file
Eric Lavigne
lavigne.eric at gmail.com
Sun Aug 21 13:41:14 EDT 2005
>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).
More information about the Python-list
mailing list