Is it possible to determine using dbfpy in the dbf file marked for deletion of records?
1 answer
deleted
(record attribute), either False (foul lie), or True (holy truth)
- Thank you, I did not find it in the documentation, and I did not immediately understand the answer, since There is no code completion. Having a little tinkering in the code, got what is [code = python] dbp = dbf.Dbf ("P110919.DBF") for i in range (begin, end): if not dbp [i] .deleted: pass # something do [\ code] - dark123us
- Well, in the example there was something
db = dbf.Dbf(..); for rb in db:
db = dbf.Dbf(..); for rb in db:
where rb is a string (record). And besides auto-completion, the dir () function seems to have not been canceled ... - alexlz
|