<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I expected the following code to work:
>
> f = file(fn,"wb")
> writer = csv.writer(f)
> for i in range(IMax):
> writer.writerow([dates[i]].append([ReturnHistories[j][i] for j in
> range(N)]))
>
> but instead i got the following erro
I expected the following code to work:
f = file(fn,"wb")
writer = csv.writer(f)
for i in range(IMax):
writer.writerow([dates[i]].append([ReturnHistories[j][i] for j in
range(N)]))
but instead i got the following error message:
Error: sequence expected
However, if i modify the code to read
w