Hi all,
I have wrote a small "Module" that I call in my ArcGIS Python window to do simple tasks for me when I am doing edits. When I call my Function basically only the function and the arguments show up. In the module I have a docstring listed below in hopes that it would pick that up as well incase i want to share this with co-workers. Anyone know the solution to this?
Below is an example of one of the functions:
def calc_feet(table):
""" Creates a Field named "Feet" and calculates the Field """
py = "PYTHON_9.3"
var = "Feet"
type = "DOUBLE"
sql = "float(!shape.length@feet!)"
arcpy.AddField_management(table, var, type)
arcpy.CalculateField_management(table, var, sql, py, "#")
import gis # my module
gis.calc_feet("my table")
#help window only shows:
gis.calc_feet(table) with no docstring