what is .format used for in arcpy

المشرف العام

Administrator
طاقم الإدارة
i know it is a silly question but as i am a newbie to arcpy so i want to know what is .format{args} is used for. like somewhere i read a code

for row in arcpy.da.SearchCursor(fc, ["OID@", "SHAPE@"]): print("Feature {0}:".format(row[0]))

it prints the all the features in fc, but i could not understand the roll of .format(row[0]))



أكثر...
 
أعلى