I want to run a programme located in C, which can be run using command line using a line as follows
tclsh oommf.tcl avf2odt -average space -axis z -onefile <filename>.txt -headers none -ipat *.omf
This is the only thing I need to type in command line.
How can I run it using python?
Please be VERY relevant to the question. I have seen a lot of answers like: you can use 'subprocess' to realize it. However, none of them really solves the problem.