Re: Confused about install as sqlite2

[email protected]
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
    Dennis>     Try: block is the common method, I believe...

    Dennis> try:
    Dennis>     import sqlite3 as db
    Dennis> except ImportError:
    Dennis>     from pysqlite2 import dbapi2 as db

Thanks.  So it was a decision by the Python dev gang to change the way it
was imported when it was incorporated into the core?

Skip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.