Re: How can export {1,5,9} into a TXT file as the format as 1 59?
- To: mathgroup at smc.vnet.net
- Subject: [mg31218] Re: [mg31202] How can export {1,5,9} into a TXT file as the format as 1 59?
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Fri, 19 Oct 2001 03:12:09 -0400 (EDT)
- References: <200110170935.FAA19698@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I suggest you don't use ">>" (Put), which is used to save expressions in
essentially internal format. The Help browser says "Put uses the format
type InputForm by default." No wonder it sends the brackets {}as well. Try
In[1]:=
Export["data.txt",pt,"CSV"]
I think you'll get what you want.
Tomas Garza
Mexico City
----- Original Message -----
From: "liwen liwen" <gzgear at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg31218] [mg31202] How can export {1,5,9} into a TXT file as the format as 1
59?
> Hi;
>
> I encounter such problem during exporting data to TXT
> file.
> I want to export pt={1,5,9} to a TXT file.
> I use pt>>>data.txt to do it, but the result is
> "{1,5,9}", not the format as "1 5 9" that I
> expected.
> How can I achieve it?
>
> Thank you very much.
>
>
> Liwen
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
- References:
- How can export {1,5,9} into a TXT file as the format as 1 5 9?
- From: liwen liwen <gzgear@yahoo.com>
- How can export {1,5,9} into a TXT file as the format as 1 5 9?