jgodfrey

loop through SDE connections

Discussion created by jgodfrey on Jun 11, 2014
Latest reply on Jul 8, 2014 by Christian_Wells-esristaff
What want a python loop to go through a list of different SDE connections.  I have this:

SDEConnect = 'Database Connections\\Atlas2013' EditorList[x] 'as' EditorList[x]'.sde\\sde.CHELAN.LandBase\\sde.CHELAN.Property_Polygons'

That has an output of: ('Database Connections\\Atlas2013', 'cathye', 'as', 'cathye', '.sde\\sde.CHELAN.LandBase\\sde.CHELAN.Property_Polygons')

which doesn't work in the script.  How do I format the code to correctly insert the value from the EditorList?

Thanks
Jeff

Outcomes