vrk6 0 Newbie Poster

Hi everyone,
I am getting a error when using Xampp with mod_python addon and another python script
Here is what I am trying to do, (I checked that the mysql server and apache server are running and refreshed. Also the config files was done correctly.)
1. First entered a string in a html form and passed it to pyform.py
2.Now in pyform.py, I imported the entire simpledb.py module.
3.Simpledb.py module fetches data from mysql server.
4.Now after importing simpledb.py from pyform.py, when I try to return the fetched values from mysql server, I get an error which says
" File "C:\xampp\htdocs\test\pyform.py", line 14, in pythonstring
vik = simpledb.result

AttributeError: 'module' object has no attribute 'result' "

I am attaching the files also.
Could somebody point me in the right direction. Thank you everyone.
Also when I dont pass the values thru the html form and instead use command prompt, I have no problems. I am able to get the values from mysql server and am able to output those values in the cmd screen.