"jitendra" <teri.jitendra@gmail.com> wrote:
> I'm jitendra from delhi(India),I've a problem with table creation using
> python....script executed but there's nothing happened.
> the program written in python is...
You need to add conn.commit() here:
> cur.execute("create table ph2 (nm varchar, ph varchar)")
conn.commit()
> print "table created....."
An auto-commit feature is initially off on databases supporting
transactions. See http://www.python.org/dev/peps/pep-0249/ .
Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center