AnsweredAssumed Answered

Best practice arcpy command line and toolbox

Question asked by agray1 on Aug 5, 2014
Latest reply on Sep 14, 2017 by SWalbridge-esristaff

I have some scripts I want to run both command line (schedule task) and in the desktop toolbox.  I use argparse for command line arguments but toolbox uses arcpy.getParameters...  Is there a best practice to have the same script be run in multiple ways?  I specifically don't want two scripts since the toolbox one is used to make sure the output of the scheduled one will be correct.

Outcomes