Re: [python-win32] A shameless COM question

2008-04-03 Thread Marcus Low
Hi Waldemar, Thanks, i have bought the twisted book and the journey begin. The COM was optimal for windows because its asynch api winsock2 and that beats berkeley socket "select" anyday on Windows, but your hint on the IO completion port gives twisted an equal footing in terms of raw efficienc

[python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
I am trying to figure out how to show a specified file in explorer. I know I can call os.startfile(directory) to show the containing directory, but I would like the file to be selected also. Is there an API call that windows makes to do this? For example, right click on a shortcut and go to pro

Re: [python-win32] Find Target

2008-04-03 Thread Tim Roberts
Rickey, Kyle W wrote: > > I am trying to figure out how to show a specified file in explorer. I > know I can call os.startfile(directory) to show the containing > directory, but I would like the file to be selected also. Is there an > API call that windows makes to do this? > > > > For example

Re: [python-win32] A shameless COM question

2008-04-03 Thread Tim Roberts
Marcus Low wrote: > Hi Waldemar, > > Thanks, i have bought the twisted book and the journey begin. The COM was > optimal for windows because its asynch api winsock2 and > that beats berkeley socket "select" anyday on Windows, That is superstitious nonsense. The asynchronous winsock API had to b

Re: [python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
Tim, let me rephrase. I'm not trying to display the shortcut dialog, only reproduce the behavior that happens when you click 'Find Target'. For instance, I've generated a file and I want show the user that file in explorer. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [python-win32] Find Target

2008-04-03 Thread Tim Roberts
Rickey, Kyle W wrote: > Tim, let me rephrase. I'm not trying to display the shortcut dialog, > only reproduce the behavior that happens when you click 'Find Target'. > For instance, I've generated a file and I want show the user that file > in explorer. > "Find Target" just follows a shortcut a

Re: [python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
Tim, thanks for your patience :). I think I'm still miscommunicating to you what I need to do. Let's throw the whole shortcut idea out the window and start from scratch. My code generates a file, I want to open the directory (which is known) containing that file and select it. Since I can open the

Re: [python-win32] Find Target

2008-04-03 Thread Scott Nelson
Kyle, If I understand you correctly, and if your not stuck on using os.startfile(), you can use explorer.exe's command line options to do this (and more). os.system('%SystemRoot%\explorer.exe/e,/select=C:\MyFolder\subfolder\MyFile. txt') See thisfor more info: http://support.microsoft.com/kb/314

Re: [python-win32] Find Target

2008-04-03 Thread Tim Roberts
Rickey, Kyle W wrote: > Tim, thanks for your patience :). I think I'm still miscommunicating to > you what I need to do. Let's throw the whole shortcut idea out the > window and start from scratch. > > My code generates a file, I want to open the directory (which is known) > containing that file an

[python-win32] OT: Version in EXE ...

2008-04-03 Thread Clinton Lee Taylor
Greetings ... This might be a little off topic, but I'm hoping that some might know how to add version details to exe files created with py2exe so that install system can version control upgrades ... Thanks Mailed LeeT ___ python-win32 mailing list pyt

Re: [python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
Tim/Scott, thanks for your replies that is exactly what I needed! :bow: Thanks for both of your times. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Thursday, April 03, 2008 12:44 PM To: Python-Win32 List Subject: Re: [pyt

Re: [python-win32] OT: Version in EXE ...

2008-04-03 Thread Thomas Heller
Clinton Lee Taylor schrieb: > Greetings ... > > This might be a little off topic, but I'm hoping that some might know > how to add version details to exe files created with py2exe so that > install system can version control upgrades ... > > Thanks > Mailed > LeeT IIRC, py2exe itself has sample

Re: [python-win32] A shameless COM question

2008-04-03 Thread Marcus Low
Tim, http://www.patentstorm.us/patents/6223207-description.html The advantage of scalability and performance of using IOCP/asynch for writing servers vs berkeley style select in Windows is a known thing for windows programmers. ICOP is built right into the Windows system drivers with the purpos