So I'm opening a visual foxpro dbf file in python. I'm trying to make a statement:
if eof():
Do something
else:
Do something
As I recall Python 3 doesn't use Eof so is there any solution on how I know if I reached the end of the file ?
Here is where I open my dbf file and my for loop loops through the dbf file but I want it where I can see if it's eof first before it loop through.
mhvupload_table = DBF('C:\Sonichr\\mhvupload.DBF', recfactory=None,load =True,ignore_missing_memofile=True)
for mhvupload_rec in mhvupload_table: