Lesson 4: File Input & Output

⏱ ~35 min Lesson 4 of 14 💚 Free

What You'll Learn

  • Open, read, write, and append files using open() and the with statement
  • Parse CSV data using the csv module
  • Read and write JSON files with the json module
  • Understand file modes: r, w, a, x