Re: [python-win32] Request for comments

2008-05-24 Thread Tim Golden
Dahlstrom, Roger wrote: My only suggestion was that the navigation was a bit inconsistent on the front page - I had to scroll down to see what the contents were - the registry section was hidden at first. I would have expected that to be in the upper left with the rest of the nav. I

Re: [python-win32] Request for comments

2008-05-24 Thread Tim Golden
bob gailer wrote: You said you can drop them straight onto an interpreter window and run them It would be quite nice if the Python for Windows Interactive Window also worked that way. Unfortunately copying your examples and pasting there does NOT work, and that has always been a pain in the

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread Tim Golden
[bob gailer] Please omit the space before ( in code. I find that very distracting. Example: print result.Properties_ (sValue).Value # current print result.Properties_(sValue).Value # preferred, and how most code I've seen looks. [Tim Roberts] Do you understand that this is strictly a

[python-win32] COM illegal argument puzzler

2008-05-24 Thread Adam Pletcher
A co-worker of mine is writing a tool to automate tasks in Photoshop, and found a win32 error we can't explain. And possibly a bug. The following script generates an error about how Select() can only take one-dimensional arrays: import win32com.client ps_app =

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread Dahlstrom, Roger
Ha - you'd hate my code then. I like a lot of spaces, makes it easier for me to keep the blocks seperated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Saturday, May 24, 2008 4:28 AM Cc: Python-Win32 List Subject: Re: [python-win32]

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread Michael Foord
Dahlstrom, Roger wrote: Ha - you'd hate my code then. I like a lot of spaces, makes it easier for me to keep the blocks seperated. I'm afraid that I abhor them. :-) Michael Foord http://www.ironpythoninaction.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [python-win32] Request for comments

2008-05-24 Thread bob gailer
Tim Roberts wrote: bob gailer wrote: Please omit the space before ( in code. I find that very distracting. Example: print result.Properties_ (sValue).Value # current print result.Properties_(sValue).Value # preferred, and how most code I've seen looks. Do you understand that this is

Re: [python-win32] Request for comments

2008-05-24 Thread Len Remmerswaal
Tim, Could you add up buttons to the previous|next lines? I always use that type of button to regain my bearings in the multitude of pages. Also I miss a possibility to walk from the start page to all pages linearly, if I feel like browsing the lot. Especially on page one, it seems there are

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread bob gailer
Tim Golden wrote: [snip] Likewise I imagine there are many who find my two-spaces indent style cluttered while I find even four and certainly any more to be grotesquely elongated. I also prefer the 2 space indent! I also realize that when I wrote my previous reply I was not conscious that

Re: [python-win32] Request for comments - the spaces issue

2008-05-24 Thread Michael Foord
bob gailer wrote: Tim Golden wrote: [snip] Likewise I imagine there are many who find my two-spaces indent style cluttered while I find even four and certainly any more to be grotesquely elongated. I also prefer the 2 space indent! I also realize that when I wrote my previous reply I was

Re: [python-win32] Request for comments

2008-05-24 Thread Tim Golden
Len Remmerswaal wrote: Tim, Could you add up buttons to the previous|next lines? I always use that type of button to regain my bearings in the multitude of pages. Also I miss a possibility to walk from the start page to all pages linearly, if I feel like browsing the lot. Especially on page

Re: [python-win32] Request for comments

2008-05-24 Thread Tim Golden
bob gailer wrote: Tim Roberts wrote: bob gailer wrote: Please omit the space before ( in code. I find that very distracting. Example: print result.Properties_ (sValue).Value # current print result.Properties_(sValue).Value # preferred, and how most code I've seen looks. Do you

[python-win32] COM illegal argument puzzler

2008-05-24 Thread Roger Upole
Adam Pletcher wrote: A co-worker of mine is writing a tool to automate tasks in Photoshop, and found a win32 error we can't explain. And possibly a bug. The following script generates an error about how Select() can only take one-dimensional arrays: import win32com.client ps_app =