On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I mean in the original data format, without any characters like "[],"
> Thanks
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Does this help:
a = [[1, 2, 3], [4, 5, 6]]
f = open("output.txt", "w")
for row in a:
f.write(" ".join(row))
f.write("\n")
f.close()
Check this also:
http://effbot.org/librarybook/csv.htm
HTH,
Edin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users