[python-win32] [Errno 2] No such file or directory:

2006-07-26 Thread Ahmed, Shakir
HI All, I am trying to change the file permission for all of the files in a directory but getting errno 2, the code is as follows, any help is highly appreciated. I am using pythonwin version 2.1 permission.py for fl in os.listdir("V:\\data\\tst\\mdb"): import os def unicode_

[python-win32] testing ADSI GUID buffer objects

2006-07-26 Thread David Primmer
I am trying to write a unit test for a function that accepts a buffer object. As far as I can tell, buffer's cannot be directly represented in code. How do I create the object for the test? (The buffer object comes through ADSI in an Active Directory query of the user GUID property). If I prin

Re: [python-win32] [Errno 2] No such file or directory:

2006-07-26 Thread Gabriel Genellina
At Wednesday 26/7/2006 16:33, Ahmed, Shakir wrote: I am trying to change the file permission for all of the files in a directory but getting errno 2, the code is as follows, any help is highly appreciated. I am using pythonwin version 2.1 permission.py for fl in os.listdir("V:\\data\\tst\\md

Re: [python-win32] testing ADSI GUID buffer objects

2006-07-26 Thread Gabriel Genellina
At Wednesday 26/7/2006 19:44, David Primmer wrote: I am trying to write a unit test for a function that accepts a buffer object. As far as I can tell, buffer's cannot be directly represented in code. How do I create the object for the test? (The buffer object comes through ADSI in an Active D

[python-win32] Re: testing ADSI GUID buffer objects

2006-07-26 Thread Roger Upole
David Primmer wrote: >I am trying to write a unit test for a function that accepts a buffer > object. As far as I can tell, buffer's cannot be directly represented > in code. How do I create the object for the test? (The buffer object comes > through ADSI in an Active Directory query of the us