I’m working on the Hacking the Fender problem and after getting an empty list no matter what I do I discovered I can open the ‘password.csv’ file that I’m supposed to be reading usernames from. When I open the file it’s completely blank.
Can someone provide that file for me?
Here’s my code and a link to the project so far for reference:
import csv
compromised_users = []
with open('passwords.csv') as password_file:
password_csv = password_file.read()
for row in password_csv:
compromised_users.append(password_csv['Username'])
print(compromised_users)