in my python program, i use "yop = mdfreader.mdf(file_path)" to obtain comment, then i want to rename the file, but i met an error "[WinError 32] The process cannot access the file because it is being used by another process".
i think "self.fid.close()" should be added at line 413 in file mdfreader.py.
Thanks for the proposal, I will implement it.
If you only want to acces comments and not load the data, it would be more efficient to use mdfinfo class instead or the argument noDataLoading = True for read.
in my python program, i use "yop = mdfreader.mdf(file_path)" to obtain comment, then i want to rename the file, but i met an error "[WinError 32] The process cannot access the file because it is being used by another process".
i think "self.fid.close()" should be added at line 413 in file mdfreader.py.