Shoes
Shoes

Reputation: 1

How to open an MDF file using python?

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:

Documentation for the mdfreader module is appreciated. I'm new to programming, so sorry if this is a stupid question!

Upvotes: 0

Views: 2139

Answers (0)

Related Questions