Ask coding questions

← Back to all posts
sanitise input for sql query manually

i need to sanitise some input to use in an sql query, but the python module i am using does not appear to support parameterised queries (i.e cur.execute("INSERT INTO people (name, age) VALUES (?, ?)", (name, age)))
and yes, i need to use this module, i can't use any other
how would i best go about this