python - Unable to load data with quotes in mysql -


i need load string contains quotes given below..the data being loaded using mysqldb python package...

value = " leading epic "zero year." " 

error

_mysql_exceptions.programmingerror: (1064, 'you have error in sql syntax; check manual corresponds mysql server version right syntax use near \'zero year.""  

how can load strings contain quotes within it...

have tried using escape character, i.e. " leading epic \"zero year.\" "


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -