Re: Postgresql & Python 2

From: Keith F Irwin <kirwin14(at)home(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql & Python 2
Date: 2001-07-13 16:01:03
Message-ID: 995040063.11137.1.camel@c234192-a
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > What does it mean to hardcode the pyver variable on top of the file?
>
> Look at the specfile, and you'll see the an attempt to autodetect the
> version of python installed. You can hardcode the result...

AH! The Spec file! Okay, THAT I get. :) Excellent. That'll work
nicely.

Keith

>
> > If I've got a database.py file with database classes, and I include
> > this file in main.py, which instantiates its objects and calls its
> > methods, how to I run main.py with Python2, and Database.py with
> > Python1.5?
>
> You can't.
> >
>
> --
> Trond Eivind Glomsrød
> Red Hat, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2001-07-13 16:01:28 Re: COPY and duplicates
Previous Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-07-13 15:53:39 Re: Postgresql & Python 2