[python-win32] Problem in identifying an archived file in Windows

2009-02-24 Thread venu madhav
Hello all, I am writing an application which has to identify the archived files in a given directory.I've tried using the function i = win32api.GetFileAttributes (full_path) to obtain the attributes.But am unable to identify based on the value it returns as it is returning 5152, 13856 e

Re: [python-win32] opening files with names in non-english characters.

2009-02-23 Thread venu madhav
st is I don't know if you will always > receive files and folders in the same order which means that the nth > file won't be consistent. > > On Tue, Feb 24, 2009 at 9:27 AM, venu madhav > wrote: > > Hello, > > The value of n is initialized in the main pr

Re: [python-win32] opening files with names in non-english characters.

2009-02-23 Thread venu madhav
r things is > to build a list and then just get the item i want by index or slicing. > > ~g > > On Tue, Feb 24, 2009 at 5:28 AM, venu madhav > wrote: > > Hello, > > First of all thanks for your response. I've written a function as > > shown below to

Re: [python-win32] opening files with names in non-english characters.

2009-02-23 Thread venu madhav
Hello,First of all thanks for your response. I've written a function as shown below to recurse a directory and return a file based on the value of n. I am calling this fucntion from my main code to catch that filename. The folder which it recurses through contains a folder having files with

[python-win32] Problem in finding the attributes of file with name in non english characters.

2009-02-23 Thread venu madhav
nk you in advance, Venu Madhav ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Help required in opening a remote file in python.

2009-02-22 Thread venu madhav
Hello all, I am writing an application where I need to open a shared file on a remote machine using python script. I tried using the following function: f = urllib.open("\\remote_machine\\folder1\\file1.doc") I also tried using class urllib.FancyURLopener(...) but didn't work. Can some one help me

Re: [python-win32] Obtaining SMTP address of a sender and receiver of an outlook mail

2008-12-08 Thread venu madhav
he AD server, not that you can > control the server. > > I've not monkeyed with the MAPI tools enough to know. > > > On Wed, Dec 3, 2008 at 11:43 PM, venu madhav <[EMAIL PROTECTED]>wrote: > >> Hi, >>I don't have access to the AD server becau

Re: [python-win32] Problem in accessing the Sender and Receiver addresses of an outlook mail

2008-12-03 Thread venu madhav
On Wed, Dec 3, 2008 at 11:30 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > venu madhav wrote: > > > > I am trying to use python for extracting contents of an > > outlook email. For extracting the list of Recipients addresses I tried > > using > &g

[python-win32] Problem in accessing the Sender and Receiver addresses of an outlook mail

2008-12-03 Thread venu madhav
Hi all, I am trying to use python for extracting contents of an outlook email. For extracting the list of Recipients addresses I tried using the "MAPI.message.Recipients.Address" property, but the problem I am facing is that it is giving the complete DN name which is putting me in further com

[python-win32] Fwd: Accessing Modification Time of an Outlook Mail in Python

2008-11-24 Thread venu madhav
Hi all, I am writing a small application which reads the contents of an Outlook Mail using python. I am able to read the contents, subject along with senders and receivers of a mail using MAPI objects. But may I know how can I get access to the "modification time" or the receiving time of an

Re: [python-win32] Problem in accessing the Message body of Outlook Inbox.

2008-10-15 Thread venu madhav
t come out with the solution. Thanks in Advance. Venu. On Fri, Oct 10, 2008 at 9:50 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > venu madhav wrote: > > > > Here is the code: > > > > rom win32com.client import Dispatch > > > > session = Dispatch("

Re: [python-win32] Problem in accessing the Message body of Outlook Inbox.

2008-10-09 Thread venu madhav
uot;) f.write(message.Body+"\n\n\n") Hope you could get some idea based on this.. Thanks in Advance,, Venu. On Thu, Oct 9, 2008 at 10:07 PM, Tim Roberts <[EMAIL PROTECTED]> wrote: > venu madhav wrote: > > Hi all, > > How can I ac

[python-win32] Problem in accessing the Message body of Outlook Inbox.

2008-10-08 Thread venu madhav
Hi all, How can I access the body of a mail in Outlook Inbox? I tried various options like message.Body or message.Mesg etc. but didn't work. I could get the subject of the mail using message.Subject though. Any help is appreciated. Thanks in advance, Venu _