for line in PM_File_Handle.readlines(): PM_fields = line.split(';') # Is there a way to get the size of PM_Fields here ? # Something like size = PM_fields.size( ) # I could not find this attribute in the python docs. Thanks