Skip to content

Instantly share code, notes, and snippets.

@seungjin
Created August 20, 2010 07:48
Show Gist options
  • Save seungjin/539842 to your computer and use it in GitHub Desktop.
Save seungjin/539842 to your computer and use it in GitHub Desktop.
python mysql escape_string method
#!/usr/env python
import MySQLdb
MySQLdb.escape_string("'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment