On Mon, Jun 14, 2010 at 8:45 AM, madhuri vio <madhuri....@gmail.com> wrote: > > i am still waiting for some help..... > -- > madhuri :) >
You already have your help- the traceback tells you everything you need to know. If you don't understand what the traceback is saying, come back here and specifically ask about the part you have trouble with. But we do expect that you will at least attempt to solve this on your own before coming here. >Traceback (most recent call last): > File "bio.py", line 10, in <module> > for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"): > File "/var/lib/python-support/python2.6/Bio/SeqIO/__init__.py", line 433, in > read > iterator = parse(handle, format, alphabet) > File "/var/lib/python-support/python2.6/Bio/SeqIO/__init__.py", line 342, in > parse > raise TypeError("Need a file handle, not a string (i.e. not a filename)") >TypeError: Need a file handle, not a string (i.e. not a filename) Now, what does the traceback say you are doing wrong? What are you handing the function and what should you be handing the function? -- http://mail.python.org/mailman/listinfo/python-list