import arcpy # do some stuff # do some more stuff
import doSomething
import arcpy def main(): # do some stuff # do some more stuff if __name__ == '__main__': pass # will do nothing if someone tries to run it directly
import doSomething doSomething.main()
Stacy's workaround isn't working for me either (with 10.2.2), I'm getting the error message shown in the screenshot when trying to run the exe in the command line. I'm also getting a message in the command line re: missing modules (see screenshot), but am not sure where I can find these...any ideas???
I have the exact same problem as liuyingjie above, not finding a clear solution.