[DB-SIG] oracledb question + Oracle+Python+W95?

Bill Tutt billtut@microsoft.com
Wed, 17 Sep 1997 11:46:02 -0700


For Win32 systems you'll be much better off just using the ODBC module
that comes with PythonWin.

Bill

> -----Original Message-----
> From:	Magnus Lycka [SMTP:magnus.lycka@tripnet.se]
> Sent:	Wednesday, September 17, 1997 9:41 AM
> To:	Thomas.Milliman@unh.edu; db-sig@python.org
> Subject:	Re: [DB-SIG] oracledb question + Oracle+Python+W95?
> 
> Is anyone using the Oracle interface for Python under Windows 95?
> (Don't laugh, this is what I have to work with!) Are there compiled
> files available somewhere? If not oracle, ODBC?
> 
> At 10:45 1997-09-17 -0400, Thomas E. Milliman wrote:
> >I'm a newcomer to python and have just succeeded in writing my first
> >script using the oracledb extensions.  I was a little bit surprised
> at
> >the lack of samples in the distribution and by the fact that the
> >documentation was rather old.  Is there any development still going
> on
> >with this stuff?
> 
> Which oracledb was that? The files that the DB-SIG point out
> 
> ftp.digicool.com/pub/releases/unsupported/oracle/oracledb-0.1.3.tar.gz
> 
> seems fairly recent, but on the other hand seems to have NO
> documentation beyond a tiny README.
> 
> >I managed to get some test scripts going by looking at mailing-list
> >archives and would like to contribute these (very simple) samples but
> >am not sure where to send them.  I'm would also guess that a "real"
> >python user could clean them up considerably. I'm including them in
> >this message and hope they might be useful for other newbies like me.
> 
> Being a newbie in this I did appreciate them, but with all respect,
> almost all the comments where completely redundant. Python, being as
> concise and clear as it is certainly don't need this kind of
> comments. Comments are not decorative. If they don't make it easier
> to understand the code they should be removed!
> 
> ># close cursor
> >#
> >cursor.close()
> 
> I removed all the comment lines, and I think readability increased
> a lot. One important thing that makes Python readable is that the
> code gets very compact without getting confusing. The only ones I
> could imagine keeping in your examples was the initial descriptive
> one (which could have been a bit more precise) and the note about
> changing instance name.
> 
> 
> 	Magnus
> 
> --
> Magnus Lycka, Folktrov. 6C, 907 51 Umea, Sweden
> +46(0)90 198 498, magnus.lycka@tripnet.se, www1.tripnet.se/~mly
> 
> 
> _______________
> DB-SIG  - SIG on Tabular Databases in Python
> 
> send messages to: db-sig@python.org
> administrivia to: db-sig-request@python.org
> _______________

_______________
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________