|This article documents something which is not associated with Scratch, the Lifelong Kindergarten Group, or the Massachusetts Institute of Technology.|
|This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (September 2018)|
A Comma Separated Values file is a plaintext file that is used by spreadsheet programs such as Microsoft Office & LibreOffice Calc to share data and often end in a .txt or .csv file extension. For more information on .csv files, see this Wikipedia page.
Support for .CSV Files in Scratch
Scratch offers limited support for CSV files, in that when a file is imported into a list, if Scratch detects that it is a CSV file, it will ask which column to import. If the field is left blank, it will be imported just like a normal text file.
How to Read .CSV files in a Scratch Program
Since a .csv file is just plain text, it is possible, as this project shows, to read them into a Scratch program and then use scripts to read and write specific values from them.