CSV and JSON
CSV and JSON: CSV Files: Tables in Plain Text, JSON Files: Saving Your Data.
Updated
- CSV Files: Tables in Plain Text (Apprentice): A CSV file is a table in plain text that every spreadsheet can open and save, and Python's csv module writes it with DictWriter and reads it with reader or DictReader, giving back every value as text that you convert to numbers with int() and float().
- JSON Files: Saving Your Data (Apprentice): JSON is a text format for data that json.dump and json.load turn Python's dictionaries and lists into and back from, through a file, while json.dumps and json.loads do the same with a string, which is how web APIs send their answers.