Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'export then import "mixed length" list' topicStudent Support Forum > General > "export then import "mixed length" list"

Next Comment >Help | Reply To Topic
Author Comment/Response
Simon
09/09/08 5:32pm

I have created the following list:

lst = {{{1, 2, 3}, 4}, {{1, 2, 3}, 4}, {{1, 2, 3}, 4}, {{1, 2, 3}, 4}}

and exported

Export["lst.dat", lst]

and then I imported again

Import["lst.dat"]

and I get the very strange

{{"{1,", "2,", "3}", 4}, {"{1,", "2,", "3}", 4}, {"{1,", "2,", "3}",
4}, {"{1,", "2,", "3}", 4}}


Any ideas???

Thanks

Simon


URL: ,

Subject (listing for 'export then import "mixed length" list')
Author Date Posted
export then import "mixed length" list Simon 09/09/08 5:32pm
Re: export then import Xavier 09/11/08 07:14am
Next Comment >Help | Reply To Topic