diff --git a/samples/README.md b/samples/README.md index 983b4ce..adc4dae 100644 --- a/samples/README.md +++ b/samples/README.md @@ -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).** diff --git a/samples/sample_env.py b/samples/sample_env.py index 42484d3..4d87451 100644 --- a/samples/sample_env.py +++ b/samples/sample_env.py @@ -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