[Tutor] mp3 range violation reportage.

Michael P. Reilly arcege@speakeasy.net
Tue, 29 May 2001 20:10:11 -0400 (EDT)


Tesla Coil wrote
> 
> A "does user have mpg123 available" test might be nice

Actually, there is a module out there to help; it isn't really a
majorly important one.
<URL: http://starship.python.net/~arcege/python/Os_path.py>

>>> import Os_path
>>> mypath = Os_Path.Binpath()
>>> mypath['mpg123']
'/usr/bin/mpg123'
>>>

It also works on Windoze and Mac.

  -Arcege

-- 
+----------------------------------+-----------------------------------+
| Michael P. Reilly                | arcege@speakeasy.net              |