|
||||
|
Hi everyone this my first post to this community. I am new to Python and I suppose I have all the pre requisite dopey questions. Although maybe I can surprise you with a really dopey question. The hardest thing for me so far is finding documentation for modules, that I can understand. I am not completely new to programming, I have been doing PHP for a couple of years, so I understand alot of the mechanics of what I have to do. Currently I am writing a mysql db object. I need to know how to quote strings. Here is a sample string: INSERT INTO error_log (error_id, error_time, error) VALUES('', now(), 'BAD SQL ERROR\nUnknown column 'ID' in 'field list'\n') As you can see I need to handle the quotes in the error. Thanks. |
||||
|
|
