Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread vishwajeet singh
On Fri, May 22, 2009 at 1:23 AM, Tim Golden wrote: > Tim Golden wrote: > >> Tim Golden wrote: >> >>> It would probably help if you specified what "does not seem[s] to be >>> working" meant. But I assume that you mean: if you add a Title into >>> the Summary on a JPEG then it doesn't get picked up

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread Tim Golden
Tim Golden wrote: Tim Golden wrote: It would probably help if you specified what "does not seem[s] to be working" meant. But I assume that you mean: if you add a Title into the Summary on a JPEG then it doesn't get picked up by the script. What's happening here (I think) is that for media types

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread Tim Golden
Tim Golden wrote: It would probably help if you specified what "does not seem[s] to be working" meant. But I assume that you mean: if you add a Title into the Summary on a JPEG then it doesn't get picked up by the script. What's happening here (I think) is that for media types -- images, movies,

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread Kent Johnson
On Thu, May 21, 2009 at 4:25 AM, vishwajeet singh wrote: > Hi Tim, > > My apologies for being vague. Yes you are right I am not able to get any > summary property from a image file. > Script runs successfully without printing anything. If you are specifically looking to read EXIF tags from jpg f

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread vishwajeet singh
Hi Tim, My apologies for being vague. Yes you are right I am not able to get any summary property from a image file. Script runs successfully without printing anything. Thanks for your help. On Thu, May 21, 2009 at 1:43 PM, Tim Golden wrote: > [Rearranging for reading order] > > [vishwajeet s

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread Tim Golden
[Rearranging for reading order] [vishwajeet singh wrote] I am trying to read properties of file on windows like there is a property call Keywords on file; I am to read this property independent of file type. [Tim Golden wrote:] There's an unpolished (indeed, unfinished) example here: http://tim

Re: [Tutor] Getting file properties on winodws

2009-05-21 Thread vishwajeet singh
Hi Tim, It does not seems to be working for jpg and in general with image files any pointers on that. Thanks for your help. On Thu, May 21, 2009 at 2:40 AM, vishwajeet singh wrote: > Thanks that helped. > > > On Thu, May 21, 2009 at 2:34 AM, Tim Golden wrote: > >> vishwajeet singh wrote: >> >>

Re: [Tutor] Getting file properties on winodws

2009-05-20 Thread vishwajeet singh
Thanks that helped. On Thu, May 21, 2009 at 2:34 AM, Tim Golden wrote: > vishwajeet singh wrote: > >> Hi, >> >> I am trying to read properties of file on windows like there is a property >> call Keywords on file; I am to read this property independent of file >> type. >> > > There's an unpolishe

Re: [Tutor] Getting file properties on winodws

2009-05-20 Thread Tim Golden
vishwajeet singh wrote: Hi, I am trying to read properties of file on windows like there is a property call Keywords on file; I am to read this property independent of file type. There's an unpolished (indeed, unfinished) example here: http://timgolden.me.uk/python/win32_how_do_i/get-documen

[Tutor] Getting file properties on winodws

2009-05-20 Thread vishwajeet singh
Hi, I am trying to read properties of file on windows like there is a property call Keywords on file; I am to read this property independent of file type. I tried using win32api and win32file but I was not able to find any such function; GetFileAttributes gives some limited attributes. -- Che