basic doubt

madhuri vio madhuri.vio at gmail.com
Thu Jun 17 01:06:54 EDT 2010


def h(self,event):
    handle = open("myco.fasta","r")
    for seq_record in SeqIO.parse(handle, "fasta"):
         messenger_rna = coding_myco.fasta.transcribe()
         han1 = open("mycorna.fasta","wU")
         han1.close()
         return self.messenger_rna


the error is...

File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
    return self.func(*args)
TypeError: h() takes exactly 2 arguments (0 given)

 ia m unable to debug...i am stuck



-- 
madhuri :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100617/8ad349f6/attachment.html>


More information about the Python-list mailing list