Possible Duplicate:
How do you escape strings for SQLite table/column names in Python?
I would like to import an entire data model from an XML file using SQLite, and while I know how to programmatically insert/escape values using the ?
syntax in queries, this does not work for the names of tables or columns when creating those. I could simply put that in the query string using Python, however this doesn't feel right and I would think there would be a proper way to insert these values so that they are escaped, to prevent SQL injections.