def asRow(self):
        """ converts a feature to a list for insertion into an insert cursor
            Output:
               [row items], [field names]
               returns a list of fields and the row object
        """
        fields = self.fields
        row = [""] * len(fields)
        for k,v in self._attributes.items():
            row[fields.index(k)] = v
            del v
            del k
        if self.geometry is not None:
            row.append(self.geometry)
            fields.append("SHAPE@")
        return row, fields
def asRow ( self ) : fields = self . fields row = [ "" ] * len ( fields ) for k , v in self . _attributes . items ( ) : row [ fields . index ( k ) ] = v del v del k if self . geometry is not None : row . append ( self . geometry ) fields . append ( "SHAPE@" ) return row , fields
converts a feature to a list for insertion into an insert cursor
            Output:
               [row items], [field names]
               returns a list of fields and the row object