class CarRecord: # declaring a class without other methods def init (self): # constructor self .VehicleID = \"\" self.Registr
what about this?
while True: # check for end of file try: Car.append(pickle.load(CarFile)) # append record from file to end of l i st except EOFError: print('EOF!!!') break