TypeError: 'list' object is not callable

Asaf Las roegltd at gmail.com
Thu Feb 6 10:24:11 CET 2014


On Thursday, February 6, 2014 11:11:13 AM UTC+2, wilso... at gmail.com wrote:
> i follow in
> http://www.dyinglovegrape.com/data_analysis/part1/1da3.php
> still have error
> what is the correct writing?

give another name to list 'open' at line 'open= []'
change it to dopen or whatever. you make name conflict with 
builtin function open(). 
Names can't be used freely.



More information about the Python-list mailing list