[python-win32] detect mapped network path

2005-06-30 Thread Simon Dahlbacka
Hi, I'm having trouble with the fact that win32file.FindFirstChangeNotification seems to not like network paths. (Or at least that is what I concluded after getting the following traceback) Traceback (most recent call last): File C:\Python23\lib\threading.py, line 436, in __bootstrap

[python-win32] EasyDialogs - how to set initial path

2005-06-30 Thread Radovan Grznarik
Hi, I am using EasyDialogs (AskFileForOpen) and I am not able to set the initial open path. I found in Python help that it should be 3rd parameter, then I tried this filename = EasyDialogs.AskFileForOpen(title,*.*,d:\\) but it does not work, and opens dialog in actual directory of running

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-06-30 Thread Guy Lateur
Hi all, I've been writing some code to move some datainto and out ofOutlook (2003 + Exchange 2003). I have some email .msg files on our file server, and I can't seem to get them back into the Outlook object I need, ie a MailItem. I've tried to useApp.CopyFile() to (temporarily) put the

Re: [python-win32] detect mapped network path

2005-06-30 Thread Tim Golden
[Simon Dahlbacka] | I'm having trouble with the fact that | win32file.FindFirstChangeNotification seems to not like network paths. | (Or at least that is what I concluded after getting the following | traceback) | | Traceback (most recent call last): | File C:\Python23\lib\threading.py, line

Re: [python-win32] detect mapped network path

2005-06-30 Thread Tim Golden
| [Simon Dahlbacka] | | | | On 6/30/05, Tim Golden [EMAIL PROTECTED] wrote: | | [Simon Dahlbacka] | | | I'm having trouble with the fact that | | | win32file.FindFirstChangeNotification seems to not like | | network paths. | | | | I don't quite understand why this is happening, but to | |

Re: [python-win32] EasyDialogs - how to set initial path

2005-06-30 Thread Radovan Grznarik
Thank you very much, I was so close, it's the 4th one:))) Next time before the question I will look at the code. now it works filename = EasyDialogs.AskFileForOpen(,,,d:\\) On 6/30/05, John Machin [EMAIL PROTECTED] wrote: Radovan Grznarik wrote: Hi, I am using EasyDialogs

Re: [python-win32] EasyDialogs - how to set initial path

2005-06-30 Thread John Machin
Radovan Grznarik wrote: Thank you very much, I was so close, it's the 4th one:))) Next time before the question I will look at the code. now it works filename = EasyDialogs.AskFileForOpen(,,,d:\\) Bletch. Try this: filename = EasyDialogs.AskFileForOpen(defaultLocation=d:\\) (Re)read this:

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-06-30 Thread guy lateur
Hi all, I've been writing some code to move some datainto and out ofOutlook (2003 + Exchange 2003). I have some email .msg files on our file server, and I can't seem to get them back into the Outlook object I need, ie a MailItem. I've tried to useApp.CopyFile() to (temporarily) put the

Re: [python-win32] LsaLookupNames2

2005-06-30 Thread Schollnick, Benjamin
Thomas, Figured out a relatively simple way to deal with this TypeLib issue regarding Win XP Win 2000 1) I created a py2exe bundle on a Windows 2000 system... 2) Since the Typelib issue was specific to win32com, I removed all NON win32com

Re: [python-win32] EasyDialogs - how to set initial path

2005-06-30 Thread Jimmy Retzlaff
John Machin wrote: Radovan Grznarik wrote: Hi, I am using EasyDialogs (AskFileForOpen) and I am not able to set the initial open path. I found in Python help Python help describes the *Mac* version; EasyDialogs for Windows by Jimmy Retzlaff has slightly different arguments; there is

Re: [python-win32] detect mapped network path

2005-06-30 Thread Mark Hammond
..but how do i find out if let's say X:\foo\bar\blarg.baz is a local path or in fact a mapped network path? win32api.GetLogicalDriveStrings() may also help. Mark ___ Python-win32 mailing list Python-win32@python.org