On Dienstag 06 September 2011, 守株待兔 wrote:
>             (date,open,high,low,close,vol,adjclose) = (row[0],
> row[1], row[2], row[3],row[4], row[5], row[6]) print  
> row[0], row[1], row[2], row[3],row[4], row[5], row[6]
> 
> 
> the wrong  output is :
>     file = open(filename,'r')
> TypeError: 'str' object is not callable

you reassigned "open" to be a string

-- 
Wolfgang
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to