On 19/03/2010 19:56, Clinton Lee Taylor wrote:
Greetings ...
I'm still very new to Python, so please excuss my request ... I have
written some very basic Python utils and slowly get my head around
Python and com objects in Windows ...
I was hoping that I might be able to bug the list for any
On 19/03/2010 10:30, Chris Jesse wrote:
I am trying to use WMI in order to get information about drives so
The problem that we are having is that we can't seem to get an accurate
size for the disks.
I know that in the past we were able to do so, using the Win32_Diskpartition
Size property but
I am trying to use MAPI to send an email using win32com, but I get the
following exception.
from win32com.client import Dispatch
s = Dispatch(Mapi.Session)
Traceback (most recent call last):
File input, line 1, in module
File C:\Python25\lib\site-packages\win32com\client\__init__.py,
line
On 22/03/2010 12:06, Werner F. Bruhin wrote:
I am trying to use MAPI to send an email using win32com, but I get the
following exception.
from win32com.client import Dispatch
s = Dispatch(Mapi.Session)
Traceback (most recent call last):
File input, line 1, in module
File
On 22/03/2010 11:22, Werner F. Bruhin wrote:
On 22/03/2010 12:06, Werner F. Bruhin wrote:
I am trying to use MAPI to send an email using win32com, but I get the
following exception.
from win32com.client import Dispatch
s = Dispatch(Mapi.Session)
Traceback (most recent call last):
File input,
Thanks Tim,
Shame about the None returns; I keep on bumping up against these!
I'm currently going for the over-read exception - a bit like over-kill, we read
beyond the size reported in the smallest block size chunks (512 bytes) until an
exception is raised. It does mean we will get 101%
On 22/03/2010 11:41, Chris Jesse wrote:
Shame about the None returns; I keep on bumping up against these!
I'm currently going for the over-read exception - a bit like over-kill,
we read beyond the size reported in the smallest block size chunks (512 bytes)
until an exception is raised. It
Tim,
Thanks for the quick response.
On 22/03/2010 12:26, Tim Golden wrote:
On 22/03/2010 11:22, Werner F. Bruhin wrote:
On 22/03/2010 12:06, Werner F. Bruhin wrote:
I am trying to use MAPI to send an email using win32com, but I get the
following exception.
from win32com.client import
[Tim Golden]
the only client which really supports CDO, ie
MAPI.Session
is the full Outlook client. It's just about possible to use CDO without
installing Outlook (by installing some standalone package whose name
escapes me)
[Werner Bruhin]
I found this:
Werner,
I'm not sure I understand the benefit of being locked into the
proprietary and awkward MAPI protocol?
Why can't you use industry standard SMTP to send your messages? Simpler
and more portable.
Malcolm
- Original message -
From: Werner F. Bruhin werner.bru...@free.fr
To:
-Original Message-
From: python-win32-bounces+simon.king=motorola@python.org
[mailto:python-win32-bounces+simon.king=motorola@python.or
g] On Behalf Of pyt...@bdurham.com
Sent: 22 March 2010 13:11
To: Werner F. Bruhin; zz Python Win32 Newsgroup
Subject: Re: [python-win32]
On 22/03/2010 13:28, King Simon-NFHD78 wrote:
I can't speak for Werner, but I recently had a request from a user of my
application for an 'email this project' button on the toolbar, which
would create an email message, attach the current project to it, and
then allow the user to edit the message
Hi Werner,
snip
I found this:
http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611Edisplaylang=en
At least I get past the above error, will see how far I get with this.
but that still only gives you access to Exchange, not to
whatever interface TB
Hi Malcolm,
On 22/03/2010 14:10, pyt...@bdurham.com wrote:
Werner,
I'm not sure I understand the benefit of being locked into the
proprietary and awkward MAPI protocol?
Why can't you use industry standard SMTP to send your messages? Simpler
and more portable.
I already offer the SMTP option,
On 22/03/2010 13:58, Tim Golden wrote:
[Tim Golden]
the only client which really supports CDO, ie
MAPI.Session
is the full Outlook client. It's just about possible to use CDO without
installing Outlook (by installing some standalone package whose name
escapes me)
[Werner Bruhin]
I found
On 22/03/2010 14:28, King Simon-NFHD78 wrote:
-Original Message-
From: python-win32-bounces+simon.king=motorola@python.org
[mailto:python-win32-bounces+simon.king=motorola@python.or
g] On Behalf Of pyt...@bdurham.com
Sent: 22 March 2010 13:11
To: Werner F. Bruhin; zz Python Win32
Hi Mike,
On 22/03/2010 14:48, Mike Driscoll wrote:
Hi Werner,
snip
I found this:
http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611Edisplaylang=en
At least I get past the above error, will see how far I get with this.
but that still only gives you
try this (simple mapi with ctypes):
http://aspn.activestate.com/ASPN/Mail/Message/ctypes-users/2095322
HTH
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hello,
I am getting the following error ValueError: I/O operation on closed file
when running a module to pull data from the Windows registry.
The code is as follows:
code
import csv
from winsys import registry
key =
Your indentation is a bit hard to read in this format, but it looks like the
for subkey in uninstall block needs to be inside the with open block.
When the with open block exits, the file is no longer open. Thus writing
to a closed file will fail.
On Mon, Mar 22, 2010 at 4:22 PM, travel europe
Is there a Windows API call I can use to display a BMP or a PNG
file in a window centered on a user's display? This function
would be called from a console app to display a splash screen.
Motivation: I would like some of our customer facing Python
console utilities to display a splash screen. I
From: pyt...@bdurham.com
To: zz Python Win32 Newsgroup python-win32@python.org
Subject: [python-win32] Win API call to display a BMP/PNG file as a
splash screen for a console app?
Message-ID: 1269295703.32357.1366163...@webmail.messagingengine.com
Content-Type: text/plain; charset=us-ascii
Hi Tony,
Thanks for the wxPython code. My reason for wanting to avoid
wxPython (and pyQt) is that I don't want to ship the wxPython
framework just to display a splash screen. I believe this might
triple the size of my PY2EXE generated executables - not a
worthwhile tradeoff for a cosmetic feature
pyt...@bdurham.com wrote:
Thanks for the wxPython code. My reason for wanting to avoid wxPython
(and pyQt) is that I don't want to ship the wxPython framework just to
display a splash screen. I believe this might triple the size of my
PY2EXE generated executables - not a worthwhile tradeoff
Is it possible to draw directly to the desktop? I vaguely recall reading
somewhere that that is how some splash screens are done to avoid the overhead
of a window...
- These thoughts are mine alone! -
Andrew MacIntyre Operations Branch
tel: +61 2
Andrew MacIntyre wrote:
Is it possible to draw directly to the desktop? I vaguely recall reading
somewhere that that is how some splash screens are done to avoid the overhead
of a window...
Yes, it's possible, but that's not the right way to do a splash screen,
because there's no good
26 matches
Mail list logo