I m trying to write my own media player (like Foobar), and I m having trouble tracking down a Python library that ll play MP3s. I know Pymedia does mp3s, but it looks outdated - the latest installer is for Python version 2.4, and I m using 2.6. I ve never had much success with Pygame, and Pyglet doesn t look like it has too much in the way of documentation. Are there any other alternatives?
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...