How to write an import script? I have searched and read scripting tutorials, but without any previous scripting experience it has presently proved to be difficult to write an import script.

I want to make a Blender import script for an ascii file format (.mdb). Could anyone be so kind as to show me where to begin?

Example file
You may use the Operator File Import template which is provided by default.

Open the Text Editor > Templates > Python



I hope, this template would give you good enough starting point and customize it as you go along with your specific needs and requirements.