I'm trying to find a Python library that would take an audio file (e.g. .ogg, .wav) and convert it into mp3 for playback on a webpage. 
Also, any thoughts on setting its quality for playback would be great.
Thank you.
Another option to avoid installing Python modules for this simple task would be to just exec "lame" or other command line encoder from the Python script (with the popen module.)
Python library for converting files to MP3 and setting their quality