On Apr 10, 10:07 am, Chris <[EMAIL PROTECTED]> wrote:
> On Apr 9, 11:02 pm, drjekil <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have done something so far about that problem,but its not the good way to
> > do it
>
> > need ur comments about that
>
> > from string import *;
> > import sys
>
> > myfi
On Apr 9, 11:02 pm, drjekil <[EMAIL PROTECTED]> wrote:
> I have done something so far about that problem,but its not the good way to
> do it
>
> need ur comments about that
>
> from string import *;
> import sys
>
> myfile = open("/afs/pdc.kth.se/home/d/debnath/membrane/1a91A.txt")
> a = myfil
drjekil wrote:
> I have done something so far about that problem,but its not the good way to
> do it
>
> need ur comments about that
>
Well, at least you can see that your approach is not satisfactory, so
that means you have some sense of what's good and bad programming/
>
> from string im
I have done something so far about that problem,but its not the good way to
do it
need ur comments about that
from string import *;
import sys
myfile = open("/afs/pdc.kth.se/home/d/debnath/membrane/1a91A.txt")
a = myfile.readlines()
data = myfile.readlines()
for line in myfile.readlines()
drjekil (or should that be mrhyde?):
Once again, *please* make sure you reply to the list. Personal replies
are much less likely to get attention.
regards
Steve
drjekil sayer wrote:
> u got it!
> thats what i am trying to explain with my bad english!
> thanks once again.
>
>
> On 4/9/08, *S
u got it!
thats the thing i am trying to explain by my bad english!
thanks for the help.
--
View this message in context:
http://www.nabble.com/new--user-needs-help%21-tp16571823p16578029.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http://mail.python.org/mai
[EMAIL PROTECTED] wrote:
> thanks!
Please keep all replies on the list: somebody else may also wish to help
(and they will also pick up mistakes I make ;-)
> I am working with a text filelooks like this:
> #NAME AA TOPO ACCESS DSSP STRIDE Z-COORD
> 1lghB A i 79.8 H H -24.58
> 1lghB V i 79.6 H H
Tim Chase wrote:
>> f = open("/tmp/data.txt", 'w')
>>
>> will open that file.
>>
>> You can throw the first line away with
>>
>> headings = f.next()
>>
>> Then you can loop over the rest with
>>
>> for name, aa, topo, access, dssp, stride, z in file:
>> #
>> # Then process each line here
> f = open("/tmp/data.txt", 'w')
>
> will open that file.
>
> You can throw the first line away with
>
> headings = f.next()
>
> Then you can loop over the rest with
>
> for name, aa, topo, access, dssp, stride, z in file:
> #
> # Then process each line here
Small caveat here...Ste
On Apr 8, 3:38 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> drjekil wrote:
> > I am totally new in biopython and its my first program.so may be i am asking
> > stupid question.
>
> New? Most questions are sensible.
>
> Let's suppose that the four lines you give below are stored in a text
> file ca
On Apr 8, 2:55 pm, drjekil <[EMAIL PROTECTED]> wrote:
> I am totally new in biopython and its my first program.so may be i am asking
> stupid question.
> I am working with a text filelooks like this:
> #NAME AA TOPO ACCESS DSSP STRIDE Z-COORD
> 1lghB A i 79.8 H H -24.58
> 1lghB V i 79.6 H H -22.06
drjekil wrote:
> I am totally new in biopython and its my first program.so may be i am asking
> stupid question.
New? Most questions are sensible.
Let's suppose that the four lines you give below are stored in a text
file called "/tmp/data.txt".
> I am working with a text filelooks like this:
>
12 matches
Mail list logo