Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Chris Angelico
On Tue, May 21, 2019 at 11:10 AM Andrew Z wrote: > > Exactly right. Im not sure why Marco is wondering about native drivers not > to be a part of python module (for oracle). > Id be very unhappy, if a python module come with a native drivers for > something as complex as a database. I wouldn't be

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Andrew Z
Exactly right. Im not sure why Marco is wondering about native drivers not to be a part of python module (for oracle). Id be very unhappy, if a python module come with a native drivers for something as complex as a database. Cx guys gave you the power to install what and how your project requires.

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Chris Angelico
On Tue, May 21, 2019 at 8:25 AM Andrew Z wrote: > > What does 249 specification mention about drivers? > Nothing. PEP 249 defines how a Python app communicates with the database module. For instance: import psycopg2 db = psycopg2.connect("...") with db, db.cursor() as cur: cur.execute("selec

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Michael Torrie
On 05/20/2019 04:23 PM, Andrew Z wrote: > What does 249 specification mention about drivers? Nothing that I can see. But it stands to reason that at some point the Python code is going to have to interface with the SQL database server's API. And when the database in question is proprietary, the o

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Andrew Z
What does 249 specification mention about drivers? On Mon, May 20, 2019, 17:39 Marco Sulla via Python-list < python-list@python.org> wrote: > On Mon, 20 May 2019 at 17:32, Thomas Jollans wrote: > > > Python has a the "Python Database API" (DB API 2.0) > > https://www.python.org/dev/peps/pep-0249

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Marco Sulla via Python-list
On Mon, 20 May 2019 at 17:32, Thomas Jollans wrote: > Python has a the "Python Database API" (DB API 2.0) > https://www.python.org/dev/peps/pep-0249/ > So why Oracle need instantclient for using cx_Oracle? They say they use DB-API: > *cx_Oracle* is a Python extension module that enables access

Re: Installation Problems with Python 3.7.3

2019-05-20 Thread Igor Korot
Hi, On Mon, May 20, 2019 at 1:53 PM Carolyn Evans wrote: > > I am having trouble with re-installing python 3.7.3. Why do you need to reinstall? What seems to be the problem? Thank you. > > I keep getting the following message: > > Modify > Repair > Remove > > I have tried all three numerous ti

Installation Problems with Python 3.7.3

2019-05-20 Thread Carolyn Evans
I am having trouble with re-installing python 3.7.3. I keep getting the following message: Modify Repair Remove I have tried all three numerous times and can not complete the setup I am working on a Windows 8 system, 64 bit OS, 4GB ram. How can this be fixed? Thanks C. Evans -- https://ma

Re: Why Python has no equivalent of JDBC of Java?

2019-05-20 Thread Thomas Jollans
On 19/05/2019 14.27, Marco Sulla via Python-list wrote: > I programmed in Python 2 and 3 for many years, and I find it a fantastic > language. > > Now I'm programming in Java by m ore than 2 years, and even if I found its > code much more boilerplate, I admit that JDBC is fantastic. Python has a

EuroPython 2019: Conference and training ticket sale opens today

2019-05-20 Thread M.-A. Lemburg
We will be starting the EuroPython 2019 conference and training ticket sales today (Monday) at 12:00 CEST * https://ep2019.europython.eu/registration/buy-tickets/ * Only 300 training tickets available --- After the rush to the early-b