MP3-Player in Python?

klappnase klappnase at
Thu Nov 20 02:21:06 CET 2003

"Thorsten Pferdekämper" <thorsten at> wrote in message news:<bpg2l7$d9v$1 at>...
> Hi,
> I am currently trying to code a little MP3-Player in Python. I do not try to
> do all the decoding stuff in Python, I am just looking for a (more or
> less...) platform independent way to play MP3s. I also want to display
> information like these stored in the ID3-tag and information like the length
> in seconds, the scan frequency etc.
> So far, I have found the following solutions, but I am not really happy with
> all of them:
> 1.
>     Pros: Seems to be very platform independent
>     Cons: I was not able to get the length in seconds etc.
> 2. tksnack
>     Pros: Lots of functionality. Really cool.
>     Cons: Needs Tkinter to run. (I would like to run this without X in
> Linux.)
If Tkinter is the only problem you have with snack, you actually can
run it without X:

from Tkinter import Tk
import tkSnack

r = Tk()
r.withdraw()#removes the window from the screen



More information about the Python-list mailing list