Importing and Exporting Data
Import["
file","Table"]
import a table of data from a file
Export["
file",
list,"Table"]
export list to a file as a table of data
Importing and exporting tabular data.
This exports an array of numbers to the file .
Here are the contents of the file .
This imports the contents of as a table of data.
Import ["file", "Table"] will handle many kinds of tabular data, automatically deducing the details of the format whenever possible.
Export ["file", list, "Table"] writes out data separated by spaces, with numbers given in C or Fortran-like form, as in and so on.
Import["
name.
ext"]
import data assuming a format deduced from the file name
Export["
name.
ext",
expr]
export data in a format deduced from the file name
Importing and exporting general data.
Some common formats for tabular data.
This imports a graphic in JPEG format.
Finding the complete list of supported import and export formats.