<br>Hi,<br><br>I assume ur on  a linux/unix box...<br><br>pls check the manual for 'split' command in linux/unix<br>this does ur job<br><br>regards,<br>KM<br>---------------------------------------------------------------------------------------------------------------------------
<br><div><span class="gmail_quote">On 6/5/07, <b class="gmail_sendername">Pieter Potgieter</b> <<a href="mailto:Pieter.Potgieter@deneldynamics.co.za">Pieter.Potgieter@deneldynamics.co.za</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div><font face="Arial" size="2"><span>Hi 
all</span></font></div>
<div><font face="Arial" size="2"><span>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.</span></font></div>
<div><font face="Arial" size="2"><span>The data is binary 
video frames (370 frames) - I want to play the data back into an embedded system 
frame/file by file.</span></font></div>
<div><font face="Arial" size="2"><span>I am a complete 
Python newby - but have C/C++ skills.</span></font></div>
<div><font face="Arial" size="2"><span>Please supply/help 
me with an snippet or example </span></font></div>
<div><font face="Arial" size="2"><span>Thanks</span></font></div>
<div><font face="Arial" size="2"><span>Pieter</span></font></div>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">*******************************************************************************************************</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">Disclaimer:  The information contained in this communication is confidential and may be legally privileged.  </span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it.  </span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">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.  
</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">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.  
</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;"></span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">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.  
</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">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.  
</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">This message should not be copied or used for any purpose other than intended, nor should it be disclosed to any other person.</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;">*******************************************************************************************************</span>
</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt;"></span> </p></div>
<br>--<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div>
<br>