On Mon, Feb 13, 2012 at 10:19 PM, Vernon Cole <vernondc...@gmail.com> wrote:

> So, how can I tell which "width" of Python I am running, so I know which
> connection string to use?

I use sys.maxint, which is 2^63-1 on 64 bit and 2^31-1 on 32 bit. It's
not available on py3, but sys.maxsize is available on both, and it's
probably equivalent.

-- Daniele
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to