I was wondering if it is possible to convert audio files with python. like wma to mp3.

thanks!

A quick search found this site that provides a python module and tutorials for handling and manipulating media files. It might be of some help.

thanks! this will be perfect!

PyMedia is a little old and crusty, development seems to have stopped in June 2006.

oh, yeah, it stops at py24

I got PyMedia to work with Python25 using this somewhat cumbersome edit:
Copy the pymedia installed folder from a python24 installation.
Pymedia will work with python25 if you hexedit all .pyd files (5)
in the pymedia installed folder and its subfolders.
You can use for instance the ICY hexplorer utility.
In the hexeditor find the python24.dll ref and change to python25.dll

There may be a runtime version warning, but it works otherwise.

Note:
Python26 uses the MSC 2008 compiler and not the usual MSC 2003 compiler. So the PyMedia DLL/PYD files may not be compatible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.