Hi,
I'm trying to make a Audio CD ripper using python.
is there a way (library, module, etc) to detect when a CD was inserted
or ejected?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 13, 11:07 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> Mark Bryan Yu wrote:
> > Hi,
>
> > I'm trying to make a Audio CD ripper using python.
>
> > is there a way (library, module, etc) to detect when a CD was inserted
> > or ejected?
>
>
Here's the initial release of my personal open source project to
create a Python CD ripper in Linux.
Punit is a Audio CD ripper for Linux using cdparanoia, LAME and
CDDB.py (http://cddb-py.sourceforge.net/)
http://www.programmingmind.com/bryan/punit.html
--
http://mail.python.org/mailman/listin
This set of codes works:
>>> x = range(5)
>>> x.reverse()
>>> x
[4, 3, 2, 1, 0]
But this doesn't:
>>> x = range(5).reverse()
>>> print x
None
Please explain this behavior. range(5) returns a list from 0 to 4 and
reverse just reverses the items on the list that is returned by
range(5). Why is x