Re: Specification for win32com.client package
Hello Tim, thank you for your quick and detailed reply. So I will try it at the python-win32 list. Many thanks for your help and if you want I will let you know when I know more. Best regards, Peter. - Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.-- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
On May 8, 7:34 am, Tim Golden [EMAIL PROTECTED] wrote: Peter Fischer wrote: Hello Tim, thank you for your answer and sorry for the multiple e-mails. Thank you also for the hint on the book. I already read into it in our local library. Its good, but a little outdated (Jan. 2000) as I mentioned in http://mail.python.org/pipermail/python-list/2007-May/438800.html Ah, yes. Didn't spot that. Although the book is outdated, so is COM! It's been around in pretty much its present format for wasily as long as that. Do you know, whether something has changed, since the book was written, in the use of the dcomcnfg tool? I wouldn't know, but I doubt it; it looks pretty old-fashioned to me. Worth checking some microsoft newsgroups. I am not clear what steps are necessary under today's WinXP Professional to get DCOM run. But it is said that it shouldn't be difficult. Certainly I've got no problem running simple stuff. My main area of expertise - WMI - uses it under the covers and it only gives me problems when there's security involved. One short question back to the documentation: I read that 'makepy' could be helpful to generate documentation to the package? AFAIK, makepy's got nothing to do with the pywin32 docs. It can be used to generate a proxy Python module for an existing COM package, eg: code from win32com.client import gencache xl = gencache.EnsureDispatch (Excel.Application) # # Behind the scenes this has called makepy to generate # a module which on my machine is under # c:\python24\lib\site-packages\win32com\gen_py # help (xl.__class__) /code Sorry I can't be more help. I know Mark Hammond follows the python-win32 list; I don't know if he follows the main Python list, so it might be worth posting to python-win32. TJG The win32com module seems to get short shrift, which I could say about a lot of the win32 modules and other 3rd party modules in general. However, I have found the following pages helpful for Python and COM: http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/html/com/win32com/HTML/docindex.html http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/html/win32/help/process_info.html#pythoncom And this is good for just general info on win32: http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/win32_modules.html The wiki idea sounds like a good one. I was thinking about doing some kind of Python site about the modules and I think the popular 3rd party ones would be a good place to start, maybe starting with win32. How much information do you think would need to be on a site like this to start out with? Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
[EMAIL PROTECTED] wrote: The wiki idea sounds like a good one. I was thinking about doing some kind of Python site about the modules and I think the popular 3rd party ones would be a good place to start, maybe starting with win32. How much information do you think would need to be on a site like this to start out with? Someone did start a Python Win32 Wiki recently (check the python-win32 archives for location etc.) I did mean to put things on there myself, but real life has taken over. Often, these things just need someone with a bit of oomph to at least get the thing going. I think what's needed (if you're offering :) is for someone to put a *framework* in place on such a site which would make it easy for anyone to come along and fill in the gaps with their particular 3rd-party app or brand of knowledge. As I say, someone did start something, but I've not heard anything from him since then and I haven't found the time myself. If you were to kick something off and actually get it going I wouldn't say no. TJG -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
On May 9, 8:25 am, Tim Golden [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The wiki idea sounds like a good one. I was thinking about doing some kind of Python site about the modules and I think the popular 3rd party ones would be a good place to start, maybe starting with win32. How much information do you think would need to be on a site like this to start out with? Someone did start a Python Win32 Wiki recently (check the python-win32 archives for location etc.) I did mean to put things on there myself, but real life has taken over. Often, these things just need someone with a bit of oomph to at least get the thing going. I think what's needed (if you're offering :) is for someone to put a *framework* in place on such a site which would make it easy for anyone to come along and fill in the gaps with their particular 3rd-party app or brand of knowledge. As I say, someone did start something, but I've not heard anything from him since then and I haven't found the time myself. If you were to kick something off and actually get it going I wouldn't say no. TJG I think I found the thread you were talking about: http://mail.python.org/pipermail/python-win32/2007-March/005585.html I went to the site listed: www.wazoozle.com and I see nothing related to python there. In fact, James (the poster) doesn't appear to be listed anywhere either. Very weird. While I am not a wiki wizard, I will look into it. I might be able to bamboozle some free space on my friend's hosting service for such a project. If so, I'll let you know. Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
[EMAIL PROTECTED] wrote: On May 9, 8:25 am, Tim Golden [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The wiki idea sounds like a good one. I was thinking about doing some kind of Python site about the modules and I think the popular 3rd party ones would be a good place to start, maybe starting with win32. How much information do you think would need to be on a site like this to start out with? Someone did start a Python Win32 Wiki recently (check the python-win32 archives for location etc.) I did mean to put things on there myself, but real life has taken over. Often, these things just need someone with a bit of oomph to at least get the thing going. I think what's needed (if you're offering :) is for someone to put a *framework* in place on such a site which would make it easy for anyone to come along and fill in the gaps with their particular 3rd-party app or brand of knowledge. As I say, someone did start something, but I've not heard anything from him since then and I haven't found the time myself. If you were to kick something off and actually get it going I wouldn't say no. TJG I think I found the thread you were talking about: http://mail.python.org/pipermail/python-win32/2007-March/005585.html I went to the site listed: www.wazoozle.com and I see nothing related to python there. In fact, James (the poster) doesn't appear to be listed anywhere either. Very weird. Strange. Maybe he gave up and hosted something else instead. It's not as though the name was related :) While I am not a wiki wizard, I will look into it. I might be able to bamboozle some free space on my friend's hosting service for such a project. If so, I'll let you know. Personally, if only to save startup pain, I'd be inclined to use the main Python wiki, at least to get going. I know I said at the time that I was willing to kick something off, but days led to weeks... and you can guess the rest. Why not corner an area on http://wiki.python.org/moin/ and put headings in place? I'm not a great fan of MoinMoin, but it's there and it carries a (certain) measure of authority. That said, if you want to set up on your own space, I'm not objecting. I'll do my best (this time) to supply info and keep things going. TJG -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
On May 9, 10:26 am, Tim Golden [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On May 9, 8:25 am, Tim Golden [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The wiki idea sounds like a good one. I was thinking about doing some kind of Python site about the modules and I think the popular 3rd party ones would be a good place to start, maybe starting with win32. How much information do you think would need to be on a site like this to start out with? Someone did start a Python Win32 Wiki recently (check the python-win32 archives for location etc.) I did mean to put things on there myself, but real life has taken over. Often, these things just need someone with a bit of oomph to at least get the thing going. I think what's needed (if you're offering :) is for someone to put a *framework* in place on such a site which would make it easy for anyone to come along and fill in the gaps with their particular 3rd-party app or brand of knowledge. As I say, someone did start something, but I've not heard anything from him since then and I haven't found the time myself. If you were to kick something off and actually get it going I wouldn't say no. TJG I think I found the thread you were talking about: http://mail.python.org/pipermail/python-win32/2007-March/005585.html I went to the site listed:www.wazoozle.comand I see nothing related to python there. In fact, James (the poster) doesn't appear to be listed anywhere either. Very weird. Strange. Maybe he gave up and hosted something else instead. It's not as though the name was related :) While I am not a wiki wizard, I will look into it. I might be able to bamboozle some free space on my friend's hosting service for such a project. If so, I'll let you know. Personally, if only to save startup pain, I'd be inclined to use the main Python wiki, at least to get going. I know I said at the time that I was willing to kick something off, but days led to weeks... and you can guess the rest. Why not corner an area onhttp://wiki.python.org/moin/ and put headings in place? I'm not a great fan of MoinMoin, but it's there and it carries a (certain) measure of authority. That said, if you want to set up on your own space, I'm not objecting. I'll do my best (this time) to supply info and keep things going. TJG It looks like there's already a Useful Modules page on the wiki: http://wiki.python.org/moin/ I could put the win32 stuff in there under the Platform Specific -- Windows sub-header, I suppose. Or maybe the documentation page? I dunno. Whatever I end up doing, it'll have to be one of these evenings after work is done. I'll let you know somehow. Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
Peter Fischer wrote: Hello, (sorry, the first message bounced; because it is urgent and I wait since yesterday, here it's again): I am searching for documentation about the interface the win32com package provides, especially win32com.client. I searched the web and Mark Hammond’s homepage but only found example code using Dispatch() and DispatchEx() etc. Isn’t there a full list of the functions win32.com.client provides? Or do I have to use makepy to somehow generate documentation (how)? I would be thankful if someone could give me a hook about that. Best regards,Peter. I'm afraid you're pretty much out of luck on full documentation, Peter. Mark Hammond Andy Robinson's book (of several years ago) is still being published: http://www.amazon.com/exec/obidos/tg/detail/-/1565926218?v=glance and certainly contains quite a bit of information on the subject. The .chm which comes with the pywin32 extensions has some information (although not much). Examples from the python-win32 list and this mailing list plus examples from around the web, plus finally the source code itself are pretty much staple fare for people working in the Win32 area under Python. Obviously, what it needs is someone or someones with the energy to get that Python Win32 wiki underway, but at the moment all my energies are devoted elsewhere, I'm afraid. TJG -- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
Hello Tim, thank you for your answer and sorry for the multiple e-mails. Thank you also for the hint on the book. I already read into it in our local library. Its good, but a little outdated (Jan. 2000) as I mentioned in http://mail.python.org/pipermail/python-list/2007-May/438800.html Do you know, whether something has changed, since the book was written, in the use of the dcomcnfg tool? I heard that DCOM is included in COM since some time. I am not clear what steps are necessary under today's WinXP Professional to get DCOM run. But it is said that it shouldn't be difficult. However, I yet didn't manage to get it run. If you could give me a hint that would be helpful. One short question back to the documentation: I read that 'makepy' could be helpful to generate documentation to the package? Okay, thank you again so much for your great help so far, best regards, Peter. Tim Golden [EMAIL PROTECTED] wrote: Peter Fischer wrote: Hello, (sorry, the first message bounced; because it is urgent and I wait since yesterday, here it's again): I am searching for documentation about the interface the win32com package provides, especially win32com.client. I searched the web and Mark Hammonds homepage but only found example code using Dispatch() and DispatchEx() etc. Isnt there a full list of the functions win32.com.client provides? Or do I have to use makepy to somehow generate documentation (how)? I would be thankful if someone could give me a hook about that. Best regards,Peter. I'm afraid you're pretty much out of luck on full documentation, Peter. Mark Hammond Andy Robinson's book (of several years ago) is still being published: http://www.amazon.com/exec/obidos/tg/detail/-/1565926218?v=glance and certainly contains quite a bit of information on the subject. The .chm which comes with the pywin32 extensions has some information (although not much). Examples from the python-win32 list and this mailing list plus examples from around the web, plus finally the source code itself are pretty much staple fare for people working in the Win32 area under Python. Obviously, what it needs is someone or someones with the energy to get that Python Win32 wiki underway, but at the moment all my energies are devoted elsewhere, I'm afraid. TJG - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos.-- http://mail.python.org/mailman/listinfo/python-list
Re: Specification for win32com.client package
Peter Fischer wrote: Hello Tim, thank you for your answer and sorry for the multiple e-mails. Thank you also for the hint on the book. I already read into it in our local library. Its good, but a little outdated (Jan. 2000) as I mentioned in http://mail.python.org/pipermail/python-list/2007-May/438800.html Ah, yes. Didn't spot that. Although the book is outdated, so is COM! It's been around in pretty much its present format for wasily as long as that. Do you know, whether something has changed, since the book was written, in the use of the dcomcnfg tool? I wouldn't know, but I doubt it; it looks pretty old-fashioned to me. Worth checking some microsoft newsgroups. I am not clear what steps are necessary under today's WinXP Professional to get DCOM run. But it is said that it shouldn't be difficult. Certainly I've got no problem running simple stuff. My main area of expertise - WMI - uses it under the covers and it only gives me problems when there's security involved. One short question back to the documentation: I read that 'makepy' could be helpful to generate documentation to the package? AFAIK, makepy's got nothing to do with the pywin32 docs. It can be used to generate a proxy Python module for an existing COM package, eg: code from win32com.client import gencache xl = gencache.EnsureDispatch (Excel.Application) # # Behind the scenes this has called makepy to generate # a module which on my machine is under # c:\python24\lib\site-packages\win32com\gen_py # help (xl.__class__) /code Sorry I can't be more help. I know Mark Hammond follows the python-win32 list; I don't know if he follows the main Python list, so it might be worth posting to python-win32. TJG -- http://mail.python.org/mailman/listinfo/python-list