csv文件用什么打开

A Comma Separated Values (CSV) file is a plain text file that contains a list of data. These files are often used for exchanging data between different applications. For example, databases and contact managers often support CSV files.

逗号分隔值(CSV)文件是包含数据列表的纯文本文件。 这些文件通常用于在不同应用程序之间交换数据。 例如,数据库和联系人管理器通常支持CSV文件。

These files may sometimes be called Character Separated Values or Comma Delimited files. They mostly use the comma character to separate (or delimit) data, but sometimes use other characters, like semicolons. The idea is that you can export complex data from one application to a CSV file, and then import the data in that CSV file into another application.

这些文件有时可能称为字符分隔值或逗号分隔文件。 他们大多使用逗号分隔(或定界)数据,但有时也使用其他字符,例如分号。 这个想法是,您可以将复杂的数据从一个应用程序导出到CSV文件,然后将该CSV文件中的数据导入到另一个应用程序。

CSV文件的结构 (The Structure of a CSV File)

A CSV file has a fairly simple structure. It’s a list of data separated by commas. For example, let’s say you have a few contacts in a contact manager, and you export them as a CSV file. You’d get a file containing text like this:

CSV文件的结构非常简单。 这是用逗号分隔的数据列表。 例如,假设您在联系人管理器中有几个联系人,然后将它们导出为CSV文件。 您将获得一个包含如下文本的文件:

Name,Email,Phone Number,Address

姓名,电子邮件,电话号码,地址

Bob Smith,bob@example.com,123-456-7890,123 Fake Street

Bob Smith,bob @ example.com,123-456-7890,Fake Street 123

Mike Jones,mike@example.com,098-765-4321,321 Fake Avenue

迈克·琼斯(mike Jones),mike @ example.com,098-765-4321,321 Fake Avenue

That’s all a CSV file really is. They can be more complicated than that, and can contain thousands of lines, more entries on each line, or long strings of text. Some CSV files may not even have the headers at the top, and some may use quotation marks to surround each bit of data, but that’s the basic format.

这就是一个CSV文件。 它们可能比这更复杂,并且可能包含数千行,每行上有更多条目或较长的文本字符串。 一些CSV文件甚至可能没有顶部标题,而某些CSV文件可能会使用引号将数据的每一位括起来,但这是基本格式。

That simplicity is a feature. CSV files are designed to be a way to easily export data and import it into other programs. The resulting data is human-readable and can be easily viewed with a text editor like Notepad or a spreadsheet program like Microsoft Excel.

这种简单性是一个特征。 CSV文件旨在方便导出数据并将其导入其他程序。 生成的数据是人类可读的,并且可以使用文本编辑器(如记事本)或电子表格程序(如Microsoft Excel)轻松查看。

如何在文本编辑器中查看CSV文件 (How to View a CSV File in a Text Editor)

To view the contents of a CSV file in Notepad, right-click it in File Explorer or Windows Explorer, and then select the “Edit” command.

要在记事本中查看CSV文件的内容,请在文件资源管理器或Windows资源管理器中右键单击该文件,然后选择“编辑”命令。

Notepad may have trouble opening the CSV file if it’s very large. In this case, we recommend you use a more capable plain text file editor like Notepad++. To view a CSV file in Notepad++ after installing it, right-click the CSV file and select the “Edit With Notepad++” command.

如果记事本很大,则可能无法打开CSV文件。 在这种情况下,我们建议您使用功能更强大的纯文本文件编辑器,例如Notepad ++ 。 要在安装后在Notepad ++中查看CSV文件,请右键单击CSV文件,然后选择“使用Notepad ++编辑”命令。

You’ll see the plaintext list of data in the CSV file. For example, if the CSV file was exported from a contacts program, you’d see information about each contact here, with the contact’s details sorted onto a new line. If it was exported from a password manager like LastPass, you’d see different website login entries on their own line here.

您将在CSV文件中看到明文数据列表。 例如,如果CSV文件是从联系人程序中导出的,则您会在此处看到有关每个联系人的信息,并将联系人的详细信息分类到新行中。 如果它是从密码管理器(如LastPass )中导出的,则您会在此处看到不同的网站登录条目。

In Notepad, the “Word Wrap” feature can make the data harder to read. Click Format > Word Wrap to disable it and make each line of data stay on its own line for improved readability. You’ll need to scroll horizontally to read the full lines.

在记事本中,“自动换行”功能会使数据难以阅读。 单击格式>换行将其禁用,并使每一行数据保持在自己的行上以提高可读性。 您需要水平滚动以阅读完整的行。

如何在电子表格程序中打开CSV文件 (How to Open a CSV File in a Spreadsheet Program)

You can also open CSV files in spreadsheet programs, which make them easier to read. For example, if you have Microsoft Excel installed on your computer, you can just double-click a .csv file to open it in Excel by default. If it doesn’t open in Excel, you can right-click the CSV file and select Open With > Excel.

您还可以在电子表格程序中打开CSV文件,从而使它们更易于阅读。 例如,如果您的计算机上安装了Microsoft Excel,则默认情况下,只需双击.csv文件即可在Excel中打开它。 如果未在Excel中打开,则可以右键单击CSV文件,然后选择“打开方式”>“ Excel”。

If you don’t have Excel, you could upload the file to a service like Google Sheets or install a free office suite like LibreOffice Calc to view it.

如果没有Excel,则可以将文件上传到Google表格等服务,也可以安装免费的Office套件(如LibreOffice Calc)来查看。

Excel and other spreadsheet programs present the contents of a .CSV file as if it were a spreadsheet, sorting it into columns.

Excel和其他电子表格程序会像显示电子表格一样显示.CSV文件的内容,并将其分类为列。

如何将CSV文件导入应用程序 (How to Import a CSV File Into an Application)

If you just want to view the contents of a CSV file or work with it as a spreadsheet, that’s all you need to do. However, many CSV files are made for importing into other programs. You might export your contacts from Google Contacts, your saved passwords from LastPass, or a large amount of data from a database program. The resulting CSV files can then be imported into applications that support that type of data.

如果您只想查看CSV文件的内容或将其作为电子表格使用,这就是您需要做的一切。 但是,许多CSV文件都可以导入其他程序中。 您可能会从Google通讯录中导出联系人,从LastPass中导出已保存的密码,或者从数据库程序中导出大量数据。 然后可以将生成的CSV文件导入支持该类型数据的应用程序。

Depending on the application from which you’re exporting data, you may need to select an appropriate CSV format for the target application. For example, Google Contacts can export contacts in either Google CSV (for Google Contacts) or Outlook CSV (for Microsoft Outlook) formats. Either way, you get a CSV file containing the data, but it’s organized in a slightly different way.

根据要从中导出数据的应用程序,您可能需要为目标应用程序选择适当的CSV格式。 例如,Google联系人可以导出为Google CSV(对于Google Contacts)或Outlook CSV(对于Microsoft Outlook)格式的联系人。 无论哪种方式,您都会获得一个包含数据的CSV文件,但是它的组织方式略有不同。

In an appropriate application, look for the “Import” or “Import CSV” option, which lets you select the CSV file to import. For example, in Microsoft Outlook, you can click File > Open & Export > Import/Export > Import From Another Program or File > Comma Separated Values to import contacts from a CSV file.

在适当的应用程序中,查找“导入”或“导入CSV”选项,该选项使您可以选择要导入的CSV文件。 例如,在Microsoft Outlook中,您可以单击文件>打开和导出>导入/导出>从其他程序导入,或单击文件>逗号分隔值以从CSV文件导入联系人。

CSV files are something most people never need to bother with. But, if you’ve ever needed to get information out of one application and into another, that’s what they’re there for.

CSV文件是大多数人无需理会的东西。 但是,如果您曾经需要将信息从一个应用程序转移到另一个应用程序中,那么这就是它们的用处。

翻译自: https://www.howtogeek.com/348960/what-is-a-csv-file-and-how-do-i-open-it/

csv文件用什么打开

csv文件用什么打开_什么是CSV文件,如何打开它?相关推荐

  1. xml文件打开_利用XML的力量来打开Financial Exchange文件

    xml文件打开 我的银行为我作为财务程序员和簿记员提供了非常有用的服务:我可以下载一个小文件,其中列出了在规定的时间段内我的一个帐户中的交易. 该文件包含帐户名称和号码: 是支票,储蓄或其他帐户类型: ...

  2. tga文件怎么打开_教你win10系统怎么打开stp文件

    stp文件怎么打开呢?近来有很多小伙伴反映有朋友发送了一个stp文件给它,搞了半天也没能打开.其实打开stp文件很简单,不过前提是需要有绘图软件.我给大家整理了打开stp文件的图文教程,赶紧来瞧瞧吧 ...

  3. php用什么打开_我的php文件怎么打开_如何打开php文件的办法

    可能很多人看到.php的文件,就是不知道怎么打开?其实这是一个很简单的事情了.这里pc6带您一起学习一下,如何打开PHP. 首先呢我们先了解一下.什么是PHP PHP,是英文超级文本预处理语言Hype ...

  4. 门禁.dat文件用什么打开_什么是DAT文件(以及如何打开一个文件)?

    门禁.dat文件用什么打开 A file with the .dat file extension is a generic data file that stores specific inform ...

  5. php 什么软件文件打开_什么是PHP文件(以及如何打开一个文件)?

    php 什么软件文件打开 A file with the .php file extension is a plain-text file that contains the source code ...

  6. 如何打开sln文件并显示窗口_如何用VC 6.0 打开Sln的工程文件

    http://blog.csdn.net/zhongjling/article/details/8442173 如何用VC 6.0 打开Sln的工程文件?在解答这一问题之前,要弄清楚 DSW 文件与 ...

  7. mysql怎么打开bak文件怎么打开吗_.bak文件用什么软件打开_如何查看bak文件

    bak后缀文件是一种数据备份文件,通常在使用记事本.cad或者word等软件的时候,会自动备份成bak文件.但有些朋友却不知道bak文件该用什么软件打开,那么如何查看bak文件呢?接下来小编就给大家带 ...

  8. w10自动删除文件怎么关了_回收站删除的文件怎么恢复?

    回收站删除的文件怎么恢复?其实很多人都遇到过误删电脑文件的情况,在工作中常常会不经意间把文件误删除了.删除之后想找回文件,等到找回的时候发现撤销操作已经无效了!如果文件在回收站里那还好点,只要到回收站 ...

  9. vue前端上传文件夹的插件_基于vue-simple-uploader封装文件分片上传、秒传及断点续传的全局上传插件...

    1. 前言 之前公司要在管理系统中做一个全局上传插件,即切换各个页面的时候,上传界面还在并且上传不会受到影响,这在vue这种spa框架面前并不是什么难题.然而后端大佬说我们要实现分片上传.秒传以及断点 ...

最新文章

  1. 在Android Studio中打开Android Device Monitor时报错的解决方法
  2. linux iptables 数据流程详解 4表5链的关系
  3. JavaScript基础一
  4. linux下的mysql修改默认编码
  5. mysql无法启动修复_记一次MySQL无法启动及修复经历
  6. IEC103规约报文举例
  7. 黑苹果驱动_黑苹果目前已可以完美驱动内置intel WiFi
  8. 计算机测色配色应用,计算机测色及配色.doc
  9. 微雪云进销存ERP功能很强大,你忍一下。
  10. 职称计算机个人档案号查询,干部人事档案编号在线查询
  11. 局域网如何设置服务器
  12. scratch编程植物大战僵尸教程(一)
  13. 20155218 《Java程序设计》实验二(Java面向对象程序设计)实验报告
  14. 海海软件发布动态网站加密(DRM版权保护)Beta版
  15. windows自带截图键(ctrl + win + s)失灵如何恢复,无需重启电脑方法!
  16. Playground 教程之SceneKit绘制个Torus圆环面
  17. Web3.0究竟是什么?
  18. 把Mitre SFR 1.4.2源码打包成MFC风格的exe
  19. 智能体脂秤方案——基于4位单片机体脂秤方案设计_西城微科
  20. 【Unity编辑器扩展实践】、查找所有引用该图片的预制体

热门文章

  1. css绘制实心三角形
  2. Excel表格规范录入数据
  3. 微信小程序展开收起通讯录列表
  4. CUDA的Occupancy和Achieved Occupancy概念
  5. 【Python】【C语言】P3353 在你窗外闪耀的星星
  6. 如何搭建Telegram群机器人
  7. python 可以处理的任务
  8. notepad++下载安装步骤
  9. 钆螯合层析结合对比剂/DPPE-DTPA-Gd-DPPE造影剂/DMPE-DTPA-Gd-DMPE造影剂
  10. PS 图像调整算法——饱和度调整