Please help on Binary file manipulation

km srikrishnamohan at gmail.com
Tue Jun 5 05:16:59 EDT 2007


Hi,

I assume ur on  a linux/unix box...

pls check the manual for 'split' command in linux/unix
this does ur job

regards,
KM
---------------------------------------------------------------------------------------------------------------------------
On 6/5/07, Pieter Potgieter <Pieter.Potgieter at deneldynamics.co.za> wrote:
>
>  Hi all
> I have a binary file of about 600kbytes - I want to break it up in file
> chunks of 1085 bytes - every file must have a new file name.
> The data is binary video frames (370 frames) - I want to play the data
> back into an embedded system frame/file by file.
> I am a complete Python newby - but have C/C++ skills.
> Please supply/help me with an snippet or example
> Thanks
> Pieter
>
>
> *******************************************************************************************************
>
> Disclaimer: The information contained in this communication is
> confidential and may be legally privileged.
>
> It is intended solely for the use of the individual or entity to whom it
> is addressed and others authorised to receive it.
>
> Any review, retransmission, dissemination, copying, disclosure or other
> use of, or taking of any action in reliance upon, this information by person
> or entities other then the intended recipient is prohibited.
>
> If you have received this message in error, please notify the sender
> immediately by e-mail, facsimile or telephone and return and/or destroy the
> original message and all copies from any computer.
>
>  Denel (Pty) Ltd exercises no editorial control over e-mail messages
> originating in the organisation and does not accept any responsibility for
> either the contents of the message or any copyright laws that may have been
> violated by the person sending this message.
>
> Denel (Pty) Ltd is neither liable for the proper and complete transmission
> of the information contained in this communication nor any delay in its
> receipt.
>
> This message should not be copied or used for any purpose other than
> intended, nor should it be disclosed to any other person.
>
>
> *******************************************************************************************************
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070605/3eceeea3/attachment.html>


More information about the Python-list mailing list