help needed!

2008-05-09 Thread drjekil
i have a script which will do a specific task for a file in a folder,now i would like to do the same task for the all files in that folder(25 files).how can i do that? Thanks in advance. -- View this message in context: http://www.nabble.com/help-needed%21-tp17148388p17148388.html Sent from t

Re: new user needs help!

2008-04-09 Thread drjekil
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()

Re: new user needs help!

2008-04-08 Thread drjekil
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

new user needs help!

2008-04-08 Thread drjekil
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 1lghB H i 71.9 H H -19.94 i need to compare those lines which has

new user needs help!

2008-04-08 Thread drjekil
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 1lghB H i 71.9 H H -19.94 i need to compare those lines which has