[Tutor] cx_Oracle and Pyinstaller

Alan Gauld alan.gauld at yahoo.co.uk
Tue Mar 14 16:23:08 EDT 2017


On 14/03/17 14:29, Madhu Venkat wrote:

>         try:
>             Conn = cx_Oracle.connect (self.dsn)
>         except cx_Oracle.DatabaseError as exception:
> 
> dsn has all the required connection info.
> 
> In this case, I believe I don't need TNSnames.ora file, please confirm.

I don't know about Oracle under Python but it sounds
reasonable. Hopefully someone else will confirm.

> In this case, do I place all script files along with the DLLs in
> c:\python2.7\ folder before I run the installer?

But this sounds wrong. Just to be clear...
Which specific installer are you talking about?
What exactly are you installing and how?


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list