MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Printing Lists to file without {}


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





  • Prev by Date: Re: display of input and output in textbook form
  • Next by Date: Re: Printing Lists to file without {}
  • Previous by thread: Printing Lists to file without {}
  • Next by thread: Re: Printing Lists to file without {}