Re: [python-win32] odbc timeouts

2008-02-01 Thread Rickey, Kyle W
Thanks Tim, I'll give that a shot -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, February 01, 2008 3:12 PM To: Python-Win32 List Subject: Re: [python-win32] odbc timeouts Rickey, Kyle W wrote: > > Is it possible to

Re: [python-win32] odbc timeouts

2008-02-01 Thread Tim Roberts
Rickey, Kyle W wrote: > > Is it possible to change the default timeout for an odbc connection? > For instance: > > > > import odbc > > > > conn = odbc.odbc(DBNAME) > > > > It seems to timeout ~15 seconds. But the above method only takes 1 > argument. Is it possible to set a timeout in the c

[python-win32] odbc timeouts

2008-02-01 Thread Rickey, Kyle W
Is it possible to change the default timeout for an odbc connection? For instance: import odbc conn = odbc.odbc(DBNAME) It seems to timeout ~15 seconds. But the above method only takes 1 argument. Is it possible to set a timeout in the connection string? -Kyle Rickey __

Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-02-01 Thread Larry Bates
Pallavi Apotikar wrote: > > Actually, I have an excel sheet, where I am entering the data. > > I am reading the entered data in python. > > excel takes data as a string. > > before passing it to python, i wanted to check whether the entered > data(value) is a valid python data type. > > so in

Re: [python-win32] How to create a com_record?

2008-02-01 Thread Kevin Patterson
Thanks Mark. I'll dig around the various windows typelilbs and see if one of them has a GUID structure. If I know the order of the structure myself (and know how to turn in to a buffer) does anyone know how I could convert the buffer in to a com_record ? On Feb 1, 2008 12:34 AM, Mark Hammond <[EM

Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-02-01 Thread Suraj Barkale
Hi, Pallavi Apotikar tcs.com> writes: > > I know how to write the macro using > VB, but I don't know how to do the same thing using python -- where is > the option available etc. You can not run Python inside excel but you can use COM to get data from an excel sheet using same API as VBA. I h

[python-win32] makepy exception

2008-02-01 Thread Reinhammar Maria
Hi all, Any advice to give on this? (python 2.5.1, win32 ext 210) D:\Python25\Lib\site-packages\win32com\client>"D:\Python25\python.exe" makepy.py -d SmarTeam.Std.SessionManagement.Authentication.Modules.tlb Generating to D:\Python25\lib\site-packages\win32com\gen_py\69661005-524C-44A4-B1