Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering is it possible to play sounds in Ubuntu using Quickly and Python without including any libs like pygame or pymedia or anything ?

Just the stock packages that come with Python ?

Thank you

share|improve this question
what type of audio files are you interested in? – hakermania Oct 5 '12 at 12:29
mpr or wav .. just any – Ronan Dejhero Oct 5 '12 at 13:41
This link suggests you can for just .wav files. – Gertjan Oct 6 '12 at 11:29

It's possible to play wav files in pure Python. This stackoverflow question provides an example. It's pretty low-level and not cross-platform though (unless extra code is added). Also, it only plays wav files. If you want more, you really need a library.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.