Prevent inserting escape characters

  • Jimbo

    Jimbo - 2010-03-08

    Seemingly out of nowhere, mysqldb has been inserting escape characters
    (backslash specifically) in my queries.

    This is in the database when I query it directly:


    Here is the same field when queried using mysqldb:


    What gives???

  • Jimbo

    Jimbo - 2010-03-08

    Nevermind, when using this in my regular expression, (r"%s" % variable_name)
    strips the backslashes.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks