— For the wheel use this link:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
then install it using pip on cmd:
c:\Python27\Scripts\pip.exe install GDAL-X.Y.Z-cp27-none-win_XYZ.whl
for more see:
https://gis.stackexchange.com/questions/2276/installing-gdal-with-python-on-windows
Message permanent page
— Try this:
cur.execute("INSERT INTO details VALUES (NULL,?,?,?)", (name, address, contact))