[Tutor] import simplejson got Floating exception on RedHat

2010-03-05 Thread Ming Xue
Hi Tutors, I installed simplejson-2.0.9 for Python 2.5 using `setup.py install` on RedHad machine. The installation went through without any error and it created an egg (site-packages/simplejson-2.0.9-py2.5-linux-x86_64.egg). However when I tested in a python shell by import simplejson, I got

[Tutor] clob and string conversion

2005-06-25 Thread Ming Xue
Hello,   I am trying to access oracle9i with cx_Oracle package. One of the column is clob and when I tried clob.read() I got non-text output. I know the real data is text. Can somebody show me how to convert clob to string in python? Thank, Ming  ___