Re: Printing Lists to file without {}
- To: mathgroup at smc.vnet.net
- Subject: [mg66028] Re: [mg65991] Printing Lists to file without {}
- From: ggroup at sarj.ca
- Date: Thu, 27 Apr 2006 02:26:27 -0400 (EDT)
- References: <200604260837.EAA02694@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Can you get away with using Export? If so, try something like: Export["prueba.out", Take[ao, {1,100}], "Table"] On Wed, 26 Apr 2006 04:37:43 -0400 (EDT), Luis wrote > Hello, > > I need to write list to a file. To do so, I'm typing: > > output = OpenWrite["prueba.out"]; > Write[output, Take[ao, {1, 100}]]; > > It writes each value but it starts and ends using brackets. i.e. it > writes: '{0.2, 0.4, ... } > > How could I avoid them? > > Thanks
- References:
- Printing Lists to file without {}
- From: Luis <luisaph@terra.es>
- Printing Lists to file without {}