Python |

Version Compare

Back to page history

Version User Scope of changes
May 2 2008, 7:39 PM EDT (current) marhar 24 words added
Dec 21 2007, 1:16 PM EST prpi 75 words added, 3 words deleted

Changes

Key:  Additions   Deletions
Getting Started:

#!/usr/bin/python

import cx_Oracle

connstr='scott/tiger'
conn = cx_Oracle.connect(connstr)
curs = conn.cursor()
curs.arraysize=50

curs.execute('select 2+2 "aaa" ,3*3 from dual')
print curs.description
print curs.fetchone()

conn.close()


Resources:
- Python Programming Language - Official Website
- cx_Oracle module for accessing Oracle Database from Python (DB API 2.0 conformant, updated for 11g)
- Pydev, a superb IDE for Python built on top of Eclipse
- Mod_python, Apache/Python Integration, introducing Python Server Pages technology
- Python Package Index - official repository for 3rd party modules
- comp.lang.python - active, helpful community of Python experts

Python-based:
- Jython - Python implemented in pure Java
- IronPython - Microsoft's implementation of Python in C# with all benefits of the .NET CLR

Python @ OTN:
- Scripting Language Technology Center - featuring Ruby/RoR and Python content
- Mastering Oracle + Python Series covering Python/Oracle connectivity from the ground up
- Build a Rapid Web Development Environment for Python Server Pages and Oracle - get into high-level Web programming with the reliable Oracle Database 10g, scalable Apache Web server, and intuitive, object-oriented Python programming language
- Wrapping Your Brain Around Oracle + Python - learn the aspects of Python most important for Oracle users
- Using Python with TurboGears and Oracle - learn how TurboGears offers Python-istas an excellent framework for creating Web-enabled applications backed by an Oracle database