From: Aleksandar K. <kac...@ya...> - 2002-03-04 04:26:07
|
I work with the pypgsql and love the library. It is very well designed peace of code and works extremely well for me. However I have question that I need help with. I am designing web interface in python to accommodate automation of the product database. Everything works flawlessly, but special characters will not pass in the insert SQL statement. how should I handle case when I have special chars included into value text or character varying. I would pool something like this: dict = {'key':"value's"} which will get me error back. do I need to deal with the special chars prior to adding values to execute statement, or I am missing something on the design of the table - fields Please send response to kac...@ya... Thanks ===== ------ * "Last night I dreamed I ate a ten-pound marshmallow, and when I woke up the pillow was gone." __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com |