On 7/1/05, Mark Hammond <[EMAIL PROTECTED]> wrote:
> > ..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.
I was going to say that it does not help, but then I found
win32file.GetDrive
> ..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
http://mail.python.org/mailman/l
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 argume
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 f
Hi all,
I've been writing some code to move some
data into and out of Outlook (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 use App.CopyFile() to
(temporarily) put th
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:\\")
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 EasyDialog
This worked for me.the first function
is called to create the copy, the second to format and rename it.
def create_graph (filename,graph):
#instatiate the Excel
object
xl = win32com.client.Dispatch("Excel.Application")
#Open the workbook
wb = xl.Workbooks.Open
(filename)
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 a readme.txt
in .\si
| [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 t
[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
| > answer your
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.
> | (Or at least that is what I concluded after getting the following
> | traceback)
> |
> | Traceback (most rec
[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 4
Hi all,
I've been writing some code to move some data into
and out of Outlook (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 use App.CopyFile() to (temporarily) put
th
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
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
self
16 matches
Mail list logo