Introduction

Introduction

Modern AI applications rely on data. When writing them, you’ll find that you often need to retrieve data from files. In this lesson, you’ll learn how to write and read data to and from your local file system with Python. You’ll focus on file data stored in these formats:

  • As plain text.
  • As a CSV (comma-separated value) file, an import/export format used by many spreadsheet applications.
  • In JSON (JavaScript Object Notation) format.

You’ll find that Python’s file-handling capabilities are straightforward to use, letting you concentrate more on what your applications do and less on the small details of working with files. Time to begin!

See forum comments
Download course materials from Github
Previous: Quiz: Working with Python Libraries & Package Management Next: File Handling