i found stange thing that i can't solve<br>import os<br>import  csv<br><br>for  name  in   os.listdir('/tmp/quote/'):<br>    filename='/tmp/quote/'+name<br>    file = open(filename,'r')<br>    file.readline()      <br>    for row in csv.reader(file):<br>                print   row[0], row[1], row[2], row[3],row[4], row[5], row[6]<br><br>it's ok,<br>when i  add    (date,open,high,low,close,vol,adjclose) = (row[0], row[1], row[2], row[3],row[4], row[5], row[6])<br>change the code into <br>import os<br>import  csv<br><br>for  name  in   os.listdir('/tmp/quote/'):<br>    filename='/tmp/quote/'+name<br>    file = open(filename,'r')<br>    file.readline()      <br>    for row in csv.reader(file):<br>            (date,open,high,low,close,vol,adjclose) = (row[0], row[1], row[2], row[3],row[4], row[5], row[6])<br>            print   row[0], row[1], row[2], row[3],row[4], row[5], row[6]<br><br><br>the wrong  output is :<br>    file = open(filename,'r')<br>TypeError: 'str' object is not callable<br><br>i don't know why??<br>