AnsweredAssumed Answered

Python syntax error

Question asked by Cep86 on Sep 23, 2015
Latest reply on Sep 23, 2015 by rastrauch

I'm figuring this is a very basic error, but I have been looking at this for a good while now and I can't figure out the syntax error that is kicking back here.  Maybe a few other sets of eyes on here will help resolve the issue. 

 

I keep getting a syntax error for line 16.  It is exactly the same as line 5, but line 5 runs just fine.

# Start message
arcpy.AddMessage("Exporting the general features feature class to the " + dbDate + " FGDB...")

# Execute FeatureClassToFeatureClass - General
arcpy.FeatureClassToFeatureClass_conversion(generalFeatures, outFGDB, outGeneral)

# End message
arcpy.AddMessage("General features feature class has been exported to the " + dbDate + " FGDB!")
arcpy.AddMessage("...")
arcpy.AddMessage("...")

# Start message
arcpy.AddMessage("Exporting the node features feature class to the " + dbDate + " FGDB..."

# Execute FeatureClassTo FeatureClass - Node
arcpy.FeatureClassToFeatureClass_conversion(nodeFeatures, outFGDB, outNode)

# End message
arcpy.AddMessage("Node features feature class has been exported to the " + dbDate + " FGDB!")
arcpy.AddMessage("...")
arcpy.AddMessage("...")

 

Thanks in advance!

Outcomes