have a list of lists, and I would like to write each of these lists on a separate file, *on a single line*.
For instance consider the following trivial example:
P := [[-.3819660120, .6180339880, -10000, -2], [.6180339880, 1.618033988, -10000, -1], [1.618033988, 10000, -10000, -.5], [2.618033988, 10000, -.5, -0.1e-3], [2.618033988, 10000, 0.1e-3, .5]]
I would like to create
+ a file named P1.dat containing the line
...