Skip to content
sound
Profile icon
abheer

I want to ask that how we can give background sound to our game in python?

You are viewing a single comment. View All
Profile icon
msaunby

A simple beep is possible in Python, and other languages, by printing an ascii bell character.
print("\a") or print("\7") will do this. A few of these with a short sleep() between them can be useful.

Profile icon
Aaryan0405

@msaunby
i did while true loop and did it undreneath. Sounded terrible