[python-win32] Converting objectSid attribute value to a PySID

2006-01-10 Thread Suzuki Alex
Hi everyone, I'm working with users in Active Directory, and I would like to use their SID for subsequent file system operations (i.e. assigning permissions to folders). I would like to use the SID saved in the objectSid attribute, but I do not know how to convert it to a win32security.PySID

[python-win32] Re: Converting objectSid attribute value to a PySID

2006-01-10 Thread Roger Upole
You can pass a string or buffer to pywintypes.SID() to create a PySID from the raw bytes. Roger ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] How to get Worgroup list?

2006-01-10 Thread Brad Tilley
Quoting Karlo Lozovina [EMAIL PROTECTED]: Friday, January 6, 2006, 9:33:26 AM, you wrote: http://groups.google.com/group/comp.lang.python/msg/d448ab26621ee8bf http://groups.google.com/group/comp.lang.python/msg/2aa365a285899845

Re: [python-win32] How to get Worgroup list?

2006-01-10 Thread Tim Golden
[Karlo Lozovina] | | http://groups.google.com/group/comp.lang.python/msg/d448ab26621ee8bf | http://groups.google.com/group/comp.lang.python/msg/2aa365a285899845 | http://groups.google.com/group/comp.lang.python/msg/461ee641b16c2f96 | | Those three were really helpful, thank you. | | But, I

Re: [python-win32] Library and header?

2006-01-10 Thread Tim Roberts
On Mon, 09 Jan 2006 16:52:42 -0800, I wrote: Is there a convenient place where I can download a library and header file wrapping python24.dll? I have to think this is a relatively common need. Well, color me embarrassed. There they are, in \python24\include and \python24\libs. I did look

Re: [python-win32] How to catch a COM error

2006-01-10 Thread Gregory Piñero
Just wanted to check if this made it to you guys? Not because I'm impatient, just that some of my emails haven't been making to the list lately. -Greg On 1/10/06, Gregory Piñero [EMAIL PROTECTED] wrote: Hi guys, This is a silly question but how do I capture a com_error from another module?

Re: [python-win32] Excel

2006-01-10 Thread bob
At 08:12 AM 1/10/2006, Stefan Elwesthal wrote: Hi all! I have to ask, cause two days later I'm starting to get annoyed ;-) How could I use PythonCOM and save my re-worked Excel file as an xlCSV file? All I get is SaveAs method in Worksheet class failed. Is something wrong with this line?

Re: [python-win32] Excel

2006-01-10 Thread John Machin
bob wrote: Viola, it displays 6. :-) Cello, it displays 7. (-: ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Excel

2006-01-10 Thread bob
At 11:16 AM 1/10/2006, John Machin wrote: bob wrote: Viola, it displays 6. :-) Cello, it displays 7. (-: Version difference? I'm using Excel 2000. and I get xlcsv = 6! But it should stay the same! You can also open the object browser (F2) within the VB Editor, select XlFileFormat in the

Re: [python-win32] Excel

2006-01-10 Thread John Machin
Stefan Elwesthal wrote: Hi all! I have to ask, cause two days later I'm starting to get annoyed ;-) How could I use PythonCOM and save my re-worked Excel file as an xlCSV file? All I get is SaveAs method in Worksheet class failed. Is something wrong with this line? Yes. Two things.

Re: [python-win32] Excel

2006-01-10 Thread Stefan Elwesthal
Thank you all for the assistance! That file were saved nice and easy and I can continue struggling with my quest to get out of all C# code. Not that i dislike C#, but the right tool to do the right job ;-) Again, huge thanks! Stefan -- ___ Check

Re: [python-win32] Excel

2006-01-10 Thread bob
At 01:10 PM 1/10/2006, John Machin wrote: bob wrote: At 11:16 AM 1/10/2006, John Machin wrote: bob wrote: Viola, it displays 6. Oh alright I meant voila. Mi francios es pocito. :-) Cello, it displays 7. (-: Version difference? I'm using Excel 2000. and I get xlcsv = 6!

[python-win32] pywin32 build 207

2006-01-10 Thread Mark Hammond
Roger Upole kindly pointed out that build 206 had a regression in the win32gui.CreateDC() function. As a result I've released build 207. The fix to win32gui.CreateDC() is the only change. Change log and release notes: https://sourceforge.net/project/shownotes.php?release_id=384458 Download