13 lines
326 B
Markdown
13 lines
326 B
Markdown
# csvpy
|
|
|
|
> 将 CSV 文件加载到 Python shell 中。
|
|
> 包含在 csvkit 中。
|
|
> 更多信息:<https://csvkit.readthedocs.io/en/latest/scripts/csvpy.html>。
|
|
|
|
- 将 CSV 文件加载到 `CSVKitReader` 对象中:
|
|
|
|
`csvpy {{data.csv}}`
|
|
|
|
- 将 CSV 文件加载到 `CSVKitDictReader` 对象中:
|
|
|
|
`csvpy --dict {{data.csv}}` |