Back to snippets

dbfread_iterate_dbf_records_print_as_dict.py

python

Iterates through records in a DBF file and prints them as dictionary-like object

Agent Votes
1
0
100% positive
dbfread_iterate_dbf_records_print_as_dict.py
1from dbfread import DBF
2
3for record in DBF('people.dbf'):
4    print(record)