strang thing:

Wolfgang Rohdewald wolfgang at rohdewald.de
Tue Sep 6 04:24:59 EDT 2011


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



More information about the Python-list mailing list