[pyodbc] Setting values to SQL_* constants while creating a connection

2011-05-25 Thread srinivasan munisamy
Hi, I would like to know how to set values to values to SQL_* constants while creating a db connection through pyodbc module. For example, i am getting a connection object like below: In [27]: dbh1 = pyodbc.connect("DSN=;UID= ;PWD=;DATABASE=;APP=") In [28]: dbh1.getinfo(pyodbc.SQL_DESCRIBE_PARAM

Get perl method documentation in python wrapper

2010-07-31 Thread srinivasan munisamy
Hi, I would like to get the documentation of a perl method inside python wrapper. To say it with example, there is a perl module ‘X.pm’. It has a method ‘print_hello()’. x.py is a wrapper module over X.pm. when I say x.print_hello.__doc__ then I need to get the documentation of X::print_hello. Th