I just buried a couple of hours not realizing that I can't do this:
with arcpy.da.SearchCursor(fp_in, ['OBJECTID', 'name']) as cursor: objectid = [row for row in cursor] name = [row2 for row2 in cursor] # now do some stuff with those two lists
objectid variable comes out as a list with numbers from the feature, as it should. However the name field comes up
 (empty). Apparently I don't know with blocks or list comprehensions because it seems I destroyed the cursor object after first use? I am confused.
name IS a field and it exists. I solved this by doing the ugly initiate a blank list and append:
objectid =  name =  with arcpy.da.SearchCursor(fp_in, ['OBJECTID', 'name']) as cursor: for row in cursor objectid.append(row) name.append(row)
But there has to be a prettier way right?