Digital terrain models import

First, I’m new to the forum, so I hope I’m putting this thread in the right place.
Second, I’m also new to blender and python coding, but I’m reading lot of manuals and doing some work to get my feet wet.
In any case, I have an ESRI ASCII file wich represents a portion of terrain. Basically it’s a matrix of points, each represented by a number wich indicates the elevation of that point. I want to write a script in Python to import this files into blender and make a 3D model of that terrain, but I have absolutely no idea on what to use. I think that a grid can be the right thing to start with, beacuse I’d only have to read the coordinates and elevate each point of the grid and then maybe smooth everything to give it a more natural look, but I may be wrong. I spent a lot of time searching for help, but ended up without finding anything usefull.
If you can help me I’d really appreciate it,
Bye Marco