Re: [python-win32] building pywin32 for python 2.6...

2013-01-30 Thread SEIGAL Nick
I am trying to get pywin32 build 218 installed and am having trouble. Here is the error I am getting: C:\Python26python F:\Downloads\Python\pywin32\pywin32-218\setup.py install Building pywin32 2.6.218.0 running install running build running build_py running build_ext Found version 0x601 in

Re: [python-win32] building pywin32 for python 2.6...

2013-01-30 Thread Preston Landers
I thought you had to have Visual Studio 2008 to build Python 2.6 and extensions. You might want to confirm that VS 2010 is supported for the releases you're using. Failure to find vcvarsall.bat can be caused if you're trying to run this from a regular windows command line. Try launching the

Re: [python-win32] building pywin32 for python 2.6...

2013-01-30 Thread Jerry Hill
On Wed, Jan 30, 2013 at 9:29 AM, SEIGAL Nick nsei...@lcog.org wrote: I am trying to get pywin32 build 218 installed and am having trouble. Here is the error I am getting: ... Any suggestions? Install using one of the installers from

Re: [python-win32] OpenDataSource failed inms-word-mail-merge-automation

2013-01-30 Thread Tim Roberts
Hsu. Victor (GSM) wrote: I fixed it by doing some modification. data_source_name = os.path.abspath('recipient.csv') mm.OpenDataSource(data_source_name) And the Word Merge To Document function works now. However, my intention is to send an email. So I change some setting, #send

Re: [python-win32] win32print not printing

2013-01-30 Thread Marcelo Almeida
After experiment with several options, I discovered one that works the way I want (actually just altered a bit Tim Golden's code). It is a workaround, but do the job nicely. import win32ui VALUE = 100 X=50; Y=50 my_multiline_string = string.split() hDC = win32ui.CreateDC () hDC.CreatePrinterDC