Going fast! #DataquestChallenge Premium Annual Offer:
500 get 50% & the next 1000 get 40% off.


Screen Link: Python Project: Exploring Hacker News Posts | Dataquest

My Code:
import csv

f = open(‘hacker_news.csv’)
hn = list(csv.reader(f))

Replace this line with your code

What I expected to happen:
Open the file

What actually happened:
The following error is appearing:FileNotFoundError: [Errno 2] No such file or directory: ‘hacker_news.csv’. Where should I download the file or how should I proceed to access the file?

Replace this line with the output/error

<!--Enter other details below: -->

I just ran your code in the link you provided and was able to get results from the CSV file. Perhaps it was a temporary error?

@mateusceron:Was this on the DQ platform or locally? If local, be sure to place the jupyter notebook and the csv file in the same base directory.

I am using the DQ platform, but the work is on the jupyter notebook on the right side of the webpage. The problem is that I didn’t download anything because I couldn’t find…