I have created a Toolbox (alias: mytool) and a model (name: mymodel; and it takes 2 parameters which are 'this' and 'that') with ModelBuilder. I need to execute this model from a Python script.
arcpy.ImportToolbox(r"c:\temp\MyTool.tbx") arcpy.mymodel_mytool(r"D:\temp\this", r"D:\temp\that")
The script runs well but didn't print anything. My question is how to check if this model has been successfully executed by printing out messages from the command prompt.