I need to return the first record of a feature class as a list. Is this possible? I can't seem to figure it out using
row.getValue() as it does not allow me to put a wildcard in there.
Give this a try:
Since you asked for a 1-liner:
This uses a generator expression and the
This is a lot easier in 10.1, BTW (arcpy.da cursors return tuples).