I' working under Windows and not have another possibility (Linux, Ubuntu, Mac) because of interested me program Thermocal that installed on Windows in my office.
I wrote the python script which creates the (1) file and then I want (2) to open via python script the program Thermocal and then (3) Thermocalc must open already created file by python script and execute it. I'm blocked with step 3. Python has the command line. Thermocal has own command line. I don't have the terminal. Once I open Thermocalc via Python (throught run option) I want also via python script to write down in Thermocal command line the command 'micro-file-open'. Is it possible?
- Code: Select all
#Open Thermocalc and execute macrofile, and save results in savedir
#Now, I want to write down Thermocal command line the command m_f_o
#And open macro file