Re: [python-win32] Changing a drive letter

2008-01-28 Thread Mike Driscoll
Tim, > -Original Message- > From: Tim Golden [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 9:51 AM > To: Mike Driscoll > Cc: python-win32@python.org > Subject: Re: [python-win32] Changing a drive letter > > Mike Driscoll wrote: > > Just an FYI here. When using Roger's metho

Re: [python-win32] Changing a drive letter

2008-01-28 Thread Mike Driscoll
Tim (and Roger), > > Message: 7 > Date: Fri, 25 Jan 2008 15:32:34 + > From: Tim Golden <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Changing a drive letter > Cc: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >

Re: [python-win32] Changing a drive letter

2008-01-28 Thread Tim Golden
Mike Driscoll wrote: > Just an FYI here. When using Roger's method, I get a traceback, so you > might want to add some caveats to your "How-do-I": > > Traceback (most recent call last): > File "\\someServer\scripts\changeDriveLetter.py", line 4, in -toplevel- > v = win32file.GetVolumeNameFor

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Tim Roberts
Arve Knudsen wrote: > > I'm aware that I can disregard the Python executable. The problem is > rather how the Python runtime can be safely bundled. I guess it would > be enough to copy the parts of the Python installation that contains > the Python DLL and its extension modules (standard library as

[python-win32] Manipulating MAPI

2008-01-28 Thread Mike Driscoll
Hi, Our organization has been slowly migrating away from closed source software. As part of this, we recently had to upgrade our mail system and found that going from Exchange 5 to its newest version was cost prohibitive. Thus we went with Zimbra, an open source / open standards alternative. Now w

Re: [python-win32] Python ADO and Date Time Field in Access

2008-01-28 Thread Tim Roberts
leegold wrote: > Hi, > > Given an MS-Access table with a date type field with a value of: > 12:00:00 AM - just"12:00:00 AM", there's nothing else in the field. > > I want to print exactly what's in the field, ie. "12:00:00 AM". Do you understand that this is not really what's present in that field

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Mark Hammond
TimR wrote: > You need to set the Python path variable before calling the > interpreter. You can do that by setting the PYTHONPATH environment > variable, but I believe you can also do that by setting variables when > you initialize the interpreter. Actually, if the 'lib' directory can be found

Re: [python-win32] Python ADO and Date Time Field in Access

2008-01-28 Thread leegold
...snip... > > I want to print exactly what's in the field, ie. "12:00:00 AM". > Do you understand that this is not really what's present in that field? > What's present in the field is a floating point number. The number > happens to represent the number of days since December 30, 1899. Hou

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Vernon Cole
Mark: Where can one find a cookbook for HOW to build python and/or pywin32 from source? I guessed that one should use VS 2003 (which I have) but I have no clue how to make it actually compile. Someone mentioned a patch to compile using a later (2005?) version of Visual Studio. I really want to