Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.