Hi,
I am trying to write a natural language interface to Db system. I have written a GUI in wxPython (Final.py), taken a parser (newparser.py) and written a simple Pyhton script (Server_Connect.py). I have attached the code below for you to view.
I would like some advice about how to begin to pass the string input from the GUI to my sql script for processing. I would like to query my train_timetable database, attempting to use natural language to interface the DB. I am confused as to how to pass the string input from the parser to the SQL (Server_Connect.py) script.
Thank you so much in advance for any tips. (I am kinda new to python, my programming is okay, but no fantastic, hope you are sympathetic!)
Sham
newparser.py (325 KB)
Server_Connect.py (4.71 KB)
GUI.py (15.1 KB)
···
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger