reaglebeagle

Import Script Question on Toolbox

Discussion created by reaglebeagle on Aug 10, 2012
Latest reply on Aug 10, 2012 by reaglebeagle
Hi - When you right-click on your python script in a toolbox and select "Import Script", it works totally fine meaning I can now send my toolbox to someone and I don't have to send the script separately, since its now stored in the tool.

My problem is that the comments seem to get overwritten with # characters everywhere. Even if I edit them after the script is imported, they seem to revert back to a series of ###'s instead of my comments the next time I open the tool.

Does anybody know how to fix that?

For example this is what I want, and this is what it does
#Import necessary modules
import arcpy

#########################
import arcpy

Outcomes