AttributeError: 'Or' object has no attribute 'as_independent'

2014-02-13 Thread wilsonmonde
Traceback (most recent call last): File "testcsv.py", line 17, in print(sy.solve([x^2+x+1-t, x^3+x^2-t], x)) File "C:\Python27\lib\site-packages\sympy\solvers\solvers.py", line 902, in so lve solution = _solve_system(f, symbols, **flags) File "C:\Python27\lib\site-packages\sympy\solv

Re: TypeError: 'list' object is not callable

2014-02-06 Thread wilsonmonde
Peter Otten於 2014年2月6日星期四UTC+8下午4時22分45秒寫道: > wilsonmo...@gmail.com wrote: > > > > > TypeError: 'list' object is not callable > > > > Hint: > > > > > open = [] > > > > [...] > > > > > with open(..., "rb") as csvfile: i follow in http://www.dyinglovegrape.com/data_analysis/part1/1da

TypeError: 'list' object is not callable

2014-02-06 Thread wilsonmonde
import csv date1 = [] open = [] high = [] low = [] close = [] data = [] with open("C:/Documents and Settings/wilson/My Documents/Downloads/execution.csv", "rb") as csvfile: fastreader = csv.reader(csvfile, delimiter = ",", skipinitialspace=True) count = 0 for row in fastre