Re: [python-win32] gencache module and read-only access to python dir

2007-06-20 Thread Mark Hammond
> I've noticed that the GetModuleForTypelib always (or at least > once per > program-run) calls AddModuleToCache (both in > win32com.client.gencache). > > This results in an attempt to write to the pickled dictionary > gen_py/dicts.dat. I'm glad you sorted your problem, but the above certainly doe

[python-win32] Re: PythonWin won't start the second time

2007-06-20 Thread Roger Upole
> I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on > my new XP machine. The first time I run PythonWin after installation > it runs normally but if I close it and try to run it again it crashes > ("PyWin32 has encountered a problem and needs to close") every time. > > After some

[python-win32] Re: Headers and Footers in Word

2007-06-20 Thread Roger Upole
> I've been trying to figure out how to insert data into the header and footer > objects of a MS Word document. I've read the Word Object Model Overview on > http://msdn2.microsoft.com/en-us/library/kw65a0we(VS.80).aspx and have the > Hammond's Python Programming on Win32 book. The I've tried fiddl

[python-win32] ADODB.Recordset returning incorrect results

2007-06-20 Thread Matthew Perry
Hi all, I'm using Access 2000 .mdb as a backend to my python script and am seeing some inconsistencies in the results. If I run the script below, I get 15 rows. If I run the SAME EXACT query directly in MS Access, I get 12 rows. Perhaps relevant to the issue - the table referenced in the quer

Re: [python-win32] Headers and Footers in Word

2007-06-20 Thread Tim Golden
P-Cubed wrote: > I've been trying to figure out how to insert data into the header and > footer objects of a MS Word document. I've read the Word Object Model > Overview on > http://msdn2.microsoft.com/en-us/library/kw65a0we(VS.80).aspx >

[python-win32] Headers and Footers in Word

2007-06-20 Thread P-Cubed
I've been trying to figure out how to insert data into the header and footer objects of a MS Word document. I've read the Word Object Model Overview on http://msdn2.microsoft.com/en-us/library/kw65a0we(VS.80).aspx and have the Hammond's Python Programming on Win32 book. The I've tried fiddling wit