python根据文本生成线shapefile
# Create geoprocessing dispatch object
import arcgisscripting
gp = arcgisscripting.create()
# Set up inputs to tool
inTxt = r"F:\shp\ELE_V1_1.txt"
inSep = "."
strms = r"F:\shapefile\ELE_V1_1.shp"
# Run tool
gp.CreateFeaturesFromTextFile(inTxt, inSep, strms, "#")
#print inTxt
#print strms