I’m fairly novice with code. I am trying to do a simple data driven pages export to .ai using arcpy. I need the resolution down to 150 DPI. Line 4 brings up parsing errSyntax Error: Invalid Syntax. I feel confident it takes place where I want to put in the resolution and the quality of image.
mxd = arcpy.mapping.MapDocument("CURRENT")
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
mxd.dataDrivenPages.currentPageID = pageNum
arcpy.mapping.ExportToAI(mxd, r"M:ProjectsRAN_GIS_Project_ID!20168852RAN8851_Cricket_" + str(pageNum) + ".ai",,,,150,"NORMAL")
del mxd