MathGroup Archive 2006

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

Search the Archive

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





  • 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 {}