文件
-
函数
- Authentication
- BinaryRead
- BinaryReadList
- BinarySerialize
- BinaryWrite
- CopyFile
- DumpSave
- Encode
- Export
- File
- FileDate
- FileHash
- FileNames
- FilePrint
- FileSize
- Find
- FindList
- Get
- Import
- OpenRead
- OpenWrite
- Put
- PutAppend
- Read
- ReadByteArray
- ReadLine
- ReadList
- ReadString
- RemoteFile
- Save
- SetStreamPosition
- Skip
- URL
- Write
- WriteLine
- WriteString
- 相关指南
- 技术笔记
-
-
函数
- Authentication
- BinaryRead
- BinaryReadList
- BinarySerialize
- BinaryWrite
- CopyFile
- DumpSave
- Encode
- Export
- File
- FileDate
- FileHash
- FileNames
- FilePrint
- FileSize
- Find
- FindList
- Get
- Import
- OpenRead
- OpenWrite
- Put
- PutAppend
- Read
- ReadByteArray
- ReadLine
- ReadList
- ReadString
- RemoteFile
- Save
- SetStreamPosition
- Skip
- URL
- Write
- WriteLine
- WriteString
- 相关指南
- 技术笔记
-
函数
文件
Wolfram 语言提供便捷有效的系统独立的函数,在各个层次处理与文件相关的结构.
完整文件
ReadString, WriteString — 读写完整文件内容作为字符串
ReadByteArray — 以字节数组形式读取完整的文件内容
ReadList — 从文件中读取无结构数据
FilePrint — 显示一个文件的原始内容
文件搜索
FindList — 在文件列表中搜索字符串
FileNames — 按名称搜索文件
底层文件操作 »
Find ▪ Skip ▪ SetStreamPosition ▪ ...
Wolfram 语言表达式文件 »
Get (<<) — 从一个文件中(.m 文件)获得 Wolfram 语言表达式
Put (>>), PutAppend (>>>) — 将 Wolfram 语言表达式输出到一个文件中 (.m 文件)
Save ▪ DumpSave ▪ Encode ▪ BinarySerialize
二进制数据 »
BinaryReadList ▪ BinaryRead ▪ BinaryWrite ▪ ...
文件属性和操作 »
FileDate ▪ FileSize ▪ FileNames ▪ FileHash ▪ CopyFile ▪ ...