[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

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

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

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

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

2009-02-23 Thread venu madhav
or slicing. ~g On Tue, Feb 24, 2009 at 5:28 AM, venu madhav venutaurus...@gmail.com wrote: 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

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

2009-02-23 Thread venu madhav
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 venutaurus...@gmail.com wrote: Hello, The value of n is initialized in the main procedure which calls it. Basically I am trying to find the n'th file

[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
, 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 because only the administrators here have those rights. Aren't there any MAPI Sender

[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

[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-16 Thread venu madhav
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(MAPI.session) session.Logon('outlook') # MAPI profile name inbox

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

2008-10-09 Thread venu madhav
\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 access the body of a mail in Outlook Inbox? I tried various options like