[python-win32] Failing to email large attachment with Python on Windows XP

2013-02-13 Thread newtechnologybooks
Hi, I'm struggling with sending a 100mb text file using Python running on a Windows XP client. I'm current running ActiveState Python 2.7.72 and it seems Python keeps failing with the following exception: Traceback (most recent call last): File "emailtest.py", line 32, in send_mail("t..

Re: [python-win32] Failing to email large attachment with Python on Windows XP

2013-02-13 Thread Tim Roberts
newtechnologybooks wrote: > > > I'm struggling with sending a 100mb text file using Python running on > a Windows XP client. > I do not doubt it. Most SMTP servers block attachments that large. > I was able to deliver 20mb files with this script, but failed when > trying 100mb files. That's fu

Re: [python-win32] Python sound playback threading control?

2013-02-13 Thread Tim Roberts
Jacob Kruger wrote: > > However, what it comes down to is to wanting to make it possible to > sort of > bypass something like current sound playback, or interrupt it, and > re-initiate the playback for the same object/sound file, etc It depends on what APIs you're using to play the sound. Often

Re: [python-win32] Python 2.6: Windows Scripting Host (WSH) compatible debugger

2013-02-13 Thread Mark Hammond
On 13/02/2013 3:17 AM, Udo Weik wrote: Hello Mark, thanks for your answer. Debugging should work "out of the box" - what problems are you seeing? I'm using a Delphi-component. That component checks whether the ActiveX debug interface is available (Windows Scripting Host, WSH). When I start m

Re: [python-win32] Python sound playback threading control?

2013-02-13 Thread Jacob Kruger
Well, it's currently making use of the sound_lib module - not sure which API it's using as such - but am using the stream object's play_blocking() method, which seems to be meant to interrupt other playbacks, but also played around with first using the stream's stop() method, before then trying

[python-win32] Failing to email large attachment with Python on Windows XP

2013-02-13 Thread newtechnologybooks
[python-win32] Failing to email large attachment with Python on Windows XP*Tim Roberts* timr at probo.com