Make samples point to python-oracledb at runtime.
This commit is contained in:
parent
83774f9520
commit
93d69d861b
@ -5,7 +5,7 @@
|
||||
**cx_Oracle has a major new release under a new name and homepage
|
||||
[python-oracledb](https://oracle.github.io/python-oracledb/).**
|
||||
|
||||
**New projects should install python-oracledb instead of cx_Oracle.**
|
||||
**New projects should install python-oracledb instead of cx_Oracle: python -m pip install oracledb**
|
||||
|
||||
**The new source code and samples can be found at
|
||||
[github.com/oracle/python-oracledb](https://github.com/oracle/python-oracledb).**
|
||||
|
||||
@ -41,6 +41,19 @@
|
||||
# user for on premises databases is SYSTEM.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
print("""
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!! cx_Oracle was renamed to python-oracledb. !!!
|
||||
!!! Use python-oracledb instead of cx_Oracle for development. !!!
|
||||
!!! Install with: !!!
|
||||
!!! python -m pip install oracledb !!!
|
||||
!!! and use the new samples in: !!!
|
||||
!!! https://github.com/oracle/python-oracledb/tree/main/samples !!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
""")
|
||||
|
||||
import getpass
|
||||
import os
|
||||
import sys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user