Reading files binary
Fredrik Lundh
fredrik at pythonware.com
Thu Oct 14 05:16:16 EDT 1999
Thomas Weholt <thomas at bibsyst.no> wrote:
> I want to read a file and treat the data from it in a binary fashion. In
> fact, I want to compute the running time and bitrate etc. of an
> mp3-file, so if anybody has done this let me know. If not, I guess I`ll
> have to do it myself, eventhough that`ll take forever.
>
> I need to read a given number of bytes, check the no. x bit for a value,
> check no. y bit etc. Is there a module for this or can it be done
> python?
here's one:
http://csl.cse.ucsc.edu/~ben/python/
PST-0.2 is likely to have similar capabilities
(at least tag reading).
</F>
coming soon:
http://www.pythonware.com/people/fredrik/librarybook.htm
More information about the Python-list
mailing list