Re: [python-win32] Programming Outlook with python

2007-11-18 Thread Simon Brunning
On Nov 18, 2007 4:13 AM, <[EMAIL PROTECTED]> wrote: > Hello > I m looking for how to program Outlook with Python > Any pointers If you want an example, you might want to look at the Spambayes Outlook plugin - . -- Cheers, Simon B. [EMAIL PROTECTED] http://www.

Re: [python-win32] How to get URL of open browser window?

2007-11-18 Thread Tim Golden
Robert wrote: > What is the best way to get the URL of current open webbrowser > Window (topmost) into a utility script? At least for IE & Mozilla's I don't think that there is a straightforward answer to this question. Assuming you're starting from nothing, there are two issues here: find an ope

Re: [python-win32] Regarding Extending python in C

2007-11-18 Thread Grzegorz Adam Hankiewicz
lakki p escribió: > please give me the EXACT PROCEDURE with suitable EXAMPLE. Try this: http://docs.python.org/ext/intro.html > i tired but am getting error like: unable to open wchar.h Your compiler is not finding the header file. Check the documentation provided by your compiler and see how y

Re: [python-win32] Compiling win32 extensions

2007-11-18 Thread Mark Hammond
Oops - my mistake! Please see pywintypes.h, where you will find a block: // As of Python 2.6, Python switched to 'wchar_t' for unicode. Some old // win32 structures that still use 'unsigned short' now fail from C++ with // VS8 so we provide a couple of helpers. // XXX - but, when trying to

[python-win32] win32tracutil traceback on Vista

2007-11-18 Thread TK Soh
On Vista, win32tracutil traceback with a "pywintypes.error": >>> import win32traceutil Traceback (most recent call last): File "", line 1, in File "C:\Python25\Lib\site-packages\win32\lib\win32traceutil.py", line 53, in SetupForPrint() File "C:\Python25\Lib\site-packages\win32\lib\win3

[python-win32] want to leave DOS console at any target dir

2007-11-18 Thread Charlie
When launching a python script from a DOS console, I can not find a way to leave the DOS console at a working directory other than the initial working directory. os.chdir only seems to work for the python script context, not the DOS context. I guess this amounts to a work-around for no "os.fc

Re: [python-win32] win32tracutil traceback on Vista

2007-11-18 Thread Mark Hammond
> On Vista, win32tracutil traceback with a "pywintypes.error": > > >>> import win32traceutil > Traceback (most recent call last): > File "", line 1, in > File "C:\Python25\Lib\site-packages\win32\lib\win32traceutil.py", > line 53, in > SetupForPrint() > File "C:\Python25\Lib\site-packa