Jump to content
Chapter 9 Code Problem
6 replies to this topic
Posted 29 April 2015 - 04:52 PM
from tkinter import *
app = Tk()
app.title("Head First Mix")
sound_file = "50459_M_RED_Nephlimizer.wav"
mixer = pygame.mixer
track.play(loops = -1)
track = mixer.Sound(sound_file)
start_button = Button(app, command = track_start, text = "Start")
start_button.pack(side = LEFT)
stop_button = Button(app, command = track_start, text = "Stop")
stop_button.pack(side = RIGHT)
the error message:
Traceback (most recent call last):
File "C:/Python34/guessing game/DJ'S_Mixer.py", line 2, in <module>
File "C:\Python34\lib\site-packages\pygame\__init__.py", line 95, in <module>
from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.
Posted 01 May 2015 - 04:31 PM
bump please i'm in need of help. I really wanna finish this book and move onto java but I cant because I don't want to skip the last 2 chapters
Posted 04 May 2015 - 09:54 AM
I think this is due to incomplete pygame installation.
I will try to come up with a tut to solve this. will take a day or so.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users