Re: ODBC module and strange date reference <...>

2006-03-08 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > I'm all for using for the latest version of Python. I'm just now > learning about Python classes, and it seems like there were some > significant changes at 2.2. I don't remember exactly what appeared when, but nothing you learn with 2.1 will stop working in 2.2 (I think

Re: ODBC module and strange date reference <...>

2006-03-08 Thread Andrew MacIntyre
[EMAIL PROTECTED] wrote: >> If I were you, I'd check with ESRI support if you can't >> use a newer version of Python. I think it's possible. > > I think it is as well and am looking into it. It's possible if they choose to build the necessary binary modules (DLLs). On Windows, Python extension m

Re: ODBC module and strange date reference <...>

2006-03-07 Thread dananrg
Magnus Lycka wrote: > Are you using an old version of ESRI software, or are > they shipping a product with an ancient version of Python? We're using the latest and greatest ArcGIS Desktop product, which is at release 9.1. Evidently they chose to use Python 2.1 to ensure a "silent install" when Arc

Re: ODBC module and strange date reference <...>

2006-03-03 Thread Gerhard Häring
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Magnus Lycka wrote: > [EMAIL PROTECTED] wrote: > >>Been using the ODBC module for Python 2.1 > > > It might well become a problem that you are stuck with > a five year old Python version. Python 2.1 is no longer > a supported Python version. Suppor

Re: ODBC module and strange date reference <...>

2006-03-03 Thread Steve Holden
Scott David Daniels wrote: > Magnus Lycka wrote: > >> Concerning mxODBC, you might want to have a second look >>at it. ... a licence might well be worth its price. > > Yup, it _is_ a great deal. I worked with mxODBC in a former > job at DevelopNET, and (A) the license cost was _low_, and (B

Re: ODBC module and strange date reference <...>

2006-03-03 Thread Scott David Daniels
Magnus Lycka wrote: > Concerning mxODBC, you might want to have a second look > at it. ... a licence might well be worth its price. Yup, it _is_ a great deal. I worked with mxODBC in a former job at DevelopNET, and (A) the license cost was _low_, and (B) it saved me enough time in the first

Re: ODBC module and strange date reference <...>

2006-03-03 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > Been using the ODBC module for Python 2.1 It might well become a problem that you are stuck with a five year old Python version. Python 2.1 is no longer a supported Python version. Support for 2.2 will probably end soon. Are you using an old version of ESRI software, o

Re: ODBC module and strange date reference <...>

2006-03-03 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > Incidentally, I have just ordered: > > * Learning Python > * Python Cookbook > * Python Pocket Reference > > Are there any other books y'all would recommend as essential Python > references and/or books for becoming fluent in Python? Both Beazley's "Python Essential Re

Re: ODBC module and strange date reference <...>

2006-03-02 Thread Frank Millman
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > > Sorry for the double-thanks Frank. > > > > I'm using Python 2.1 for Win32 and import datetime fails. > > > > Does the datetime module come standard with later releases of Python? > > If so, which release? If not, will datetime with with Pyth

Re: ODBC module and strange date reference <...>

2006-03-02 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Sorry for the double-thanks Frank. > > I'm using Python 2.1 for Win32 and import datetime fails. > > Does the datetime module come standard with later releases of Python? > If so, which release? If not, will datetime with with Python 2.1, if it > will, where can I get

Re: ODBC module and strange date reference <...>

2006-03-02 Thread dananrg
Sorry for the double-thanks Frank. I'm using Python 2.1 for Win32 and import datetime fails. Does the datetime module come standard with later releases of Python? If so, which release? If not, will datetime with with Python 2.1, if it will, where can I get it? I'm still such a newbie with Python

Re: ODBC module and strange date reference <...>

2006-03-02 Thread dananrg
Thanks Frank. Much appreciated. I will give it a go. -- http://mail.python.org/mailman/listinfo/python-list

Re: ODBC module and strange date reference <...>

2006-03-02 Thread dananrg
Thanks Frank. Much appreciated. I will give it a go. -- http://mail.python.org/mailman/listinfo/python-list

Re: ODBC module and strange date reference <...>

2006-03-02 Thread Frank Millman
[EMAIL PROTECTED] wrote: > Been using the ODBC module for Python 2.1 (Win32) and had another > question. When I return data from date columns, it's in a strange > object form, e.g. (don't have the output in front > of me>. > > What's an easy way to convert date objects into a human-readable > str

ODBC module and strange date reference <...>

2006-03-02 Thread dananrg
Been using the ODBC module for Python 2.1 (Win32) and had another question. When I return data from date columns, it's in a strange object form, e.g. (don't have the output in front of me>. What's an easy way to convert date objects into a human-readable string? I'm using this module to extract d