renbu
@renbu

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Python、win32com.client.Dispatch("WScript.Shell")のヘルプを見たい

以下のようにwin32comをインポートしてヘルプを表示してみましたが、求めていたような内容ではなかったです。

import win32com.client

input(help(win32com.client.Dispatch("WScript.Shell")))

結果

Help on CDispatch in module win32com.client object:

class CDispatch(win32com.client.dynamic.CDispatch)
 |  CDispatch(IDispatch, olerepr, userName=None, UnicodeToString=None, lazydata=None)
 |
 |  The dynamic class used as a last resort.
 |  The purpose of this overriding of dynamic.CDispatch is to perpetuate the policy
 |  of using the makepy generated wrapper Python class instead of dynamic.CDispatch
 |  if/when possible.
 |
 |  Method resolution order:
 |      CDispatch
 |      win32com.client.dynamic.CDispatch
 |      builtins.object
 |
 |  Methods inherited from win32com.client.dynamic.CDispatch:
 |
 |  __AttrToID__(self, attr)
 |
 |  __LazyMap__(self, attr)
 |
 |  __bool__(self)
 |
 |  __call__(self, *args)
 |      Provide 'default dispatch' COM functionality - allow instance to be called
 |
 |  __eq__(self, other)
 |      Return self==value.
 |
 |  __getattr__(self, attr)
 |
 |  __getitem__(self, index)
 |
 |  __init__(self, IDispatch, olerepr, userName=None, UnicodeToString=None, lazydata=None)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __int__(self)
 |
 |  __len__(self)
 |
 |  __ne__(self, other)
 |      Return self!=value.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  __setattr__(self, attr, value)
 |      Implement setattr(self, name, value).
 |
 |  __setitem__(self, index, *args)
 |
 |  __str__(self)
 |      Return str(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from win32com.client.dynamic.CDispatch:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from win32com.client.dynamic.CDispatch:
 |
 |  __hash__ = None

None

CreateShortCutなど、ショートカットファイル関連の機能が見たかったのですが、どのようにすれば見れますか?

0

No Answers yet.

Your answer might help someone💌