Hi, there,
I am learning Arcpy from ArcGIS Desktop 10.6.1. I have a feature class which has a field called "CondSize". This field has some texts such as '1/0', '2/0', '500', '1' etc. When I used the below python code, it gave me the different strings such as r'43', r'37', etc. I also tried to use str(row[0]), but no luck. I know the issue came from '/' in some strings in the field. But I don't know how to get the original strings. Your clue is appreciated.
with arcpy.da.SearchCursor(fc, ['CondSize']) as cursor:
for row in cursor:
print row[0]
Thanks a lot
Eddy. H.