In my code I have:
import mdfreader
mdf = mdfreader.Mdf('SERVER.mdf')
And upon running the code, I receive an exception:
Exception: file SERVER.mdf is not an MDF file!
The MDF file is in the same folder as my Python program.
If it cannot be fixed:
- Is my MDF file corrupt?
- How can I get the data out of my file?
I've also tried the
asammdf
library but it didn't work.
Documentation for the mdfreader
module is appreciated.
I'm new to programming, so sorry if this is a stupid question!