How to extract first and last strings in a sequence?
<p>I am new to python programming..can someone suggest some way to do the following:</p>

<p>The whole data is stored in a file and comes . And I can not disturb the sequence.</p>

<p>I want to extract out the first and last nodes of the chains.There are several such chains like this. And the data content is in Giga Byte.</p>

<p>I am clueless about how to go about it in python. Can someone be kind enough to help.</p>
