Reputation: 41
I read a mf4 file using asammdf package. I want to delete this file after doing some edits but failed. The error shows: This file is in use by another program and cannot be accessed by the process. I wonder how to close a mf4 file before delete.
from asammdf import MDF
mdf = MDF(path)
Upvotes: 0
Views: 1274
Reputation: 730
from asammdf import MDF
mdf = MDF(path)
# .... something something
mdf.close()
Upvotes: 1