Python cx_Oracle Notebooks: the Oracle Database series on best practices

Christopher Jones
1 min readMar 7, 2022

At various conferences over the last few months we’ve been invited to present on the Python cx_Oracle module for Oracle Database applications. Thank you!

The sessions have varied in length and content, but have all been about best practices. Most of the presentations’ content has been a ‘live’ demo, using Juptyer Notebooks. The notebooks also include feature and topic descriptions. Attendees have been asking for these files… I have beenmerging and updating the various notebooks for you. You will find them on Github at github.com/cjbj/cx-oracle-notebooks.

The notebooks give you runnable code that you can step through, or even modify.

Screenshot of a notebook running in a web browser, showing code and explanations.

The setup instructions are in the README. You might need to vary these for your environment.

The notebooks are/will be:

You may also be interested in the tutorial Python and Oracle Database Tutorial: Scripting for the Future. This is also found in “LiveLabs” format here, which lets you easily run it in Oracle Cloud.

And don’t forget our traditional samples and documentation.

--

--

Christopher Jones

Oracle Database Product Manager for language drivers including Python python-oracledb, Node.js node-oracledb, PHP OCI8 and more! On Mastodon: @cjbj@phpc.social