Re: [python-win32] Problem with Raw datatype

2007-06-08 Thread Tim Roberts
Larry Bates wrote: > That is the value. Since binary data doesn't print well, Python prints > the hex representation of each of the characters and puts \x in front of > them so you will know that the string doesn't contain those characters > but the hex they represent. Your database printed the h

Re: [python-win32] Problem with Raw datatype

2007-06-08 Thread Larry Bates
swarna np wrote: > Hi All, > > I am using Oracle as by DBMS and Python for front end. > > I am having a problem with 'Raw' data type of Oracle, it is as follows: > > 1. When I fetch a column whose type is 'Raw' it's being formatted. > For ex: The value in the DB is : FEEDEE007F91500D9638994600A

[python-win32] inspect.getsource fails

2007-06-08 Thread Marc-André Belzile
Hi, I get an IO error when executing some code based on the inspect module: import inspect def FunctionTest(): x = 1 y = 2 return x+1 stringFunction = inspect.getsource(FunctionTest) print stringFunction # ERROR : Traceback (most recent call last): # File "

[python-win32] Problem with Raw datatype

2007-06-08 Thread swarna np
Hi All, I am using Oracle as by DBMS and Python for front end. I am having a problem with 'Raw' data type of Oracle, it is as follows: 1. When I fetch a column whose type is 'Raw' it's being formatted. For ex: The value in the DB is : 'FEEDEE007F91500D9638994600A3C50C' But the python prints it