Installed: Python25, pywin32-210.win32-py2.5.exe
Being new to COM, I have a simple question. When I execute the following
code from within IDLE, I hear the mp3 file played out but when I run the
file from Windows Explorer I get no sound (and no errors) ?
I'm sure the answer is very simple !
(
new2com wrote:
Installed: Python25, pywin32-210.win32-py2.5.exe
Being new to COM, I have a simple question. When I execute the following
code from within IDLE, I hear the mp3 file played out but when I run the
file from Windows Explorer I get no sound (and no errors) ?
By run the file
Installed: Python25, pywin32-210.win32-py2.5.exe
Being new to COM, I have a simple question. When I execute
the following
code from within IDLE, I hear the mp3 file played out but
when I run the
file from Windows Explorer I get no sound (and no errors) ?
I'm sure the answer is very simple
En Wed, 14 Mar 2007 13:41:17 -0300, Tim Roberts [EMAIL PROTECTED] escribió:
if __name__ == __main__:
mp = Dispatch(WMPlayer.OCX)
tune = mp.newMedia('my_file.mp3')
mp.currentPlaylist.appendItem(tune)
mp.controls.play()
raw_input(Press Enter to stop playing)