oracle
This code imports the cx_Oracle module and creates a connection to the Oracle server. The cursor object is then created and used to execute a SELECT statement.
Shortcut: oracleconex
Filename pattern: *.py
import cx_Oracle
connection = cx_Oracle.connect("system", "netoracle", "localhost/XE")
cursor = connection.cursor()