Форум сайта python.su
Здравствуйте.
Мне нужно извлечь из Windows Media Player'а информацию о проигрываемой композиции. Установил win32api, Но
from win32com import Dispatcher
player = Dispatch("WMPlayer.OCX")
player.controls.play()
Офлайн
google выдал вот такой ответ разработчика pywin32:
As far as I know, the WMPlayer OCX will only work as a true “control” - not
as a regular COM object. That means it must be hosted in a ‘control
container’, and these are not trivial to implement. Pythonwin and wxWindows
are the only 2 Python environments I am aware of capable of hosting such a
control.
Mark
Офлайн