Skip to content

Example of usage in Python #3

@josephernest

Description

@josephernest

Thanks for this extension! Could you give an example of how to use it with Python sqlite3?

Would it work with something like:

import sqlite3
conn = sqlite3.connect(':memory:')
c = conn.cursor()

c.execute('SELECT LOAD_EXTENSION('??')') # D:\Test\Levenshtein.pyd?

c.execute('SELECT LEVENSHTEIN("This is not correct", "This is correct");')

or is there a specific way to use it with Python (would it need a wrapper?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions