[python-win32] win32file.SetupComm Error Using PySerial in new Python 2.5.2 installation on 32 bit XP

2008-03-07 Thread Ron Jackson
I am setting up Python on a newly upgraded computer (AMD 64 X2 dual core) running 32 bit XP home. I installed the following packages: Python 2.5.2 from python-2.5.2.msi PySerial from pyserial-2.2win32.exe Python extensions for windows from pywin32-210.win32-py2.5.exe Running a test of my program

[python-win32] Response.Flush not working

2008-03-07 Thread python-win32
Hi All, I searched for this but couldn't find it anywhere: I've just started running Python in Classic ASP, and would like to Response.Flush periodically on a page with a lot of processing behind it. However, it seems to have no effect. I confirmed that Response.Buffer = True. Any suggestion

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Mike Driscoll
Hi Julius, > > Message: 7 > Date: Fri, 07 Mar 2008 21:44:36 +0100 > From: Julius <[EMAIL PROTECTED]> > Subject: [python-win32] Monitor directories/files > To: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain > > Hi, > > how do you monitor files/directories o

Re: [python-win32] Building pywin32 on Vista 64

2008-03-07 Thread Marc-André Belzile
Salut, Oui, python 2.5 (AMD64) est installé et fonctionne très bien. I've installed Python 2.5 (x86) and pywin32 (build 2.5.210.0) and everything works. However, I want to use the python 2.5 and pywin32 64 bit version. -mab -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Tim Golden
Alec Bennett wrote: > I'm trying to save the output of some TTS to a sound file, is this possible? > > Here's how I'm doing the TTS, though am certainly open to other methods: > > import pythoncom, win32com > import win32api, win32com.client > pythoncom.CoInitialize () > > s = win32com.client.Di

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Michel Claveau
Hi ! > I'm trying to save the output of some TTS to a sound file, is this > possible? Yes, it's possible. I had done that (save MS-agent's blah-blah), under XP, with Python. But, sorry, I completely forgot how I had proceeded... I remember only that I had used MCI. @-salutations -- Michel Clav

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Thomas Heller
Alec Bennett schrieb: > I'm trying to save the output of some TTS to a sound file, is this possible? > > Here's how I'm doing the TTS, though am certainly open to other methods: > > import pythoncom, win32com > import win32api, win32com.client > pythoncom.CoInitialize () > > s = win32com.client.

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Tim Roberts
Julius wrote: > Hi, > > how do you monitor files/directories on windows systems with python? > gamin in linux is really nice, but i wasnt able to find something that > works on windows systems. > As with many such questions, the all-knowing Tim Golden has an answer for you: http://tgolden.

[python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Alec Bennett
I'm trying to save the output of some TTS to a sound file, is this possible? Here's how I'm doing the TTS, though am certainly open to other methods: import pythoncom, win32com import win32api, win32com.client pythoncom.CoInitialize () s = win32com.client.Dispatch("SAPI.SpVoice") s.Speak("hi the

Re: [python-win32] Building pywin32 on Vista 64

2008-03-07 Thread Michel Claveau
Hi!Bonsoir ! > I tried installing pywin3-210 on vista-64 but got this installation error: > 'Can't load Python for pre-install script'. - is python 2.5 already installed? - avant pywin32, avez-vous bien installé Python 2.5 (préalablement) ? Perso, je n'ai pas testé sur Vista-64, mais sous

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Tim Golden
Julius wrote: > how do you monitor files/directories on windows systems with python? > gamin in linux is really nice, but i wasnt able to find something that > works on windows systems. http://timgolden.me.uk/python/win32_how_do_i/watch_directory_for_changes.html TJG

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Adam Pletcher
I recently found this helpful: http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_c hanges.html - Adam > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Julius > Sent: Friday, March 07, 2008 2:45 PM > To: python-win32@python.org

[python-win32] Monitor directories/files

2008-03-07 Thread Julius
Hi, how do you monitor files/directories on windows systems with python? gamin in linux is really nice, but i wasnt able to find something that works on windows systems. greets ___ python-win32 mailing list python-win32@python.org http://mail.python.or

Re: [python-win32] Building pywin32 on Vista 64

2008-03-07 Thread Marc-André Belzile
Hello, I tried installing pywin3-210 on vista-64 but got this installation error: 'Can't load Python for pre-install script'. -mab -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michel Claveau Sent: March 6, 2008 5:50 PM To: python-win32@python.org Sub

Re: [python-win32] Windows Vista slow down Python xmlrpc

2008-03-07 Thread Michel Claveau
Thanks for the return. Another thing: do you have sun in NL? ;-) Michel Claveau ; Ardèche ; France. ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Windows Vista slow down Python xmlrpc

2008-03-07 Thread caxelrud
Hi, I changed "localhost" to "127.0.0.1" and worked as fast as the XP. Thanks, Michel Claveau wrote: > > Hi! > > > If you replace localhost by 127.0.0.1, Vista become fast... > > e.g. :s=xmlrpclib.ServerProxy("http://127.0.0.1:8080";) > > I think that it's a name resolution problem

Re: [python-win32] Building pywin32 on Vista 64

2008-03-07 Thread Marc-André Belzile
Are there any directives regarding x64 version in setup.py ? I can't find them. I downloaded pywin32-210.zip and the setup.py file is dated from 23/09/2006. Is there a newer version ? thanks -mab From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: March 6,

Re: [python-win32] get python install dir

2008-03-07 Thread Tim Golden
le dahut wrote: > Hello, > How can I get python's installation directory ? import sys print sys.prefix TJG ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] get python install dir

2008-03-07 Thread le dahut
Hello, How can I get python's installation directory ? ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32