Complete Python Programming Masterclass Beginner to Advanced

Project #2 – Python and .CSV Files

This project will present you with the opportunity to apply the skills that you have learned up to this point with the course.

2.1 READING CONTENT FROM A .CSV FILE

The first part of this project requires you to take the provided .csv file, “example.csv”, and read/print the full content using Python. You will find the file, “example.csv”, attached to this lecture and the previous. Make sure to save the document in the same directory that the you save your Python file(s).

Step 1

Step 2

Step 3

Step 4

Step 4


 

2.2 WRITING CONTENT TO A .CSV FILE

The second part of this project will require you to write the steps necessary to write content to the provided .csv file using Python. You will find the file, “example.csv”, attached to this lecture and the previous. Make sure to save the document in the same directory that the you save your Python file(s).

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6