Easy points for an easy question.

Discussion created by Tomsriv on Jul 5, 2012
Latest reply on Jul 11, 2012 by SolomonP
I'm trying to run some python models through code.  Exporting to python from modelbuilder is unreliable even for simple models.  So I am trying running modelbuilder through python.  What is wrong with my code?  I'm not sure what an alias is as far as a model is concerned, but I defined one anyway because the sample showed it that way.  How come testmodel is not working?

import arcpy.mapping
arcpy.ImportToolbox("c:/01Working_Directory/Python/zCamarilloCustom.tbx", "alias")