Ok, when I now type in the following command:
python setup.py py2exe
with the following code in setup.py:
#start code
from glob import glob
from distutils.core import setup
import py2exe
data_files = [(Microsoft.VC90.CRT, glob(r'C:\Program Files\Microsoft Visual
Studio
Jacob Kruger wrote:
Ok, when I now type in the following command:
python setup.py py2exe
...
It seems to be generating the following exception/error, based on the line
where I assume I'm trying to tell it to include the contents of the file,
mapDataFn.py?
#error text from console window
Greetings,
I am having a problem with using win32com to open an instance of Excel when
there is already one open. I would appreciate any help.
My example goes as follows:
The user has an Excel file (and therefore an EXCEL.exe process) open
already.
I do:
Hi,
I'm testing the excelRTDServer.py example RTD Server (TimeServer):
Win7-SP1 64-Bit
Excel 2007 32-Bit
Python 2.6.6 32-Bit
pywin32-216
and get a generic COM exception when the RTD server tries to notify Excel of
data changes (from the trace collector):
Traceback (most recent call last):
hi,
i am building application for outlook in my application i need to capture
the NewMailEx event of Outlook which fires when a new mail arrived. I have
tried using win32event but i failed can please anyone tell me how to capture
new mail of outlook using event handler
thanks
Umesh Kumar Sharma
Tobias Oberstein wrote:
...
and get a generic COM exception when the RTD server tries to notify
Excel of data changes (from the trace collector):
...
The COM Error is: generic COM exception 0x80020009
The callpath that leads to the exception is:
excelRTDServer.py
==
L281
Jacob Kruger wrote:
Ok, then why is it not picking up that the 2 files are in fact in same
folder at the time when I'm running the setup.py?
All I have in the main file is the following in case that's an issue?:
from mapDataFn import fnTakeItem
If you have main.py, setup.py, and
Jacob Kruger wrote:
#error text from console window
raise ImportError, No module named + qname
ImportError: No module named c:\temp\pythonScripts\mapDataFn
Should I rather copy that file to somewhere else, and then just tell it to
do something like:
includes : [mapDataFn]
Also tried
Sadly this is all under the control of Excel, so I've no good advice.
The poor advice I can offer is (1) for your own piece of mind, see if
you can get the same basic behaviour with wscript and a .vbs script, (2)
to try and see if you can find a similar problem in any
language/environment (eg,