My buggy program:
for line in fin.open('onefile'):
list = line.strip().split('\t')
... (other goodies)
def revComplimentary(seq):
li = list(seq)
... (other goodies)
When the self-defined function is called, a TypeError is thrown saying "list object is not callable". What hell is this problem? It turns out that I have redefined "list" to be an object in file processing.
1 comment:
哇
哎
后后后~~~
来踩一下~
Post a Comment