I acknowledge the security points & also by the way I omitted using any Try Catch statements , because at this stage coming from PHP I was more focused on getting a select statement to actually work in python.
Also I know the end use will be off line and is part of a python & kivy project to android via buildozer ,for an off line searchable version of the digital encyclopedia from SOSchildren. PHP version here: http://www.ginbrookesfoundation.org/showArticle/70 I'm just glad I have half a clue now! Loving python so far anyway! -- https://mail.python.org/mailman/listinfo/python-list