xml open ๊ด๋ จ ์ง๋ฌธ์
๋๋ค.
13์ฃผ์ฐจ ์ฝ๋ฉํ์ผ์
๋๋ค.week_13_code ์์ ์๋ csv_read.py ํ์ผ์
๋๋ค.์๋ค์ ์๋ฌด ์ฝ๋ ์์ต๋๋ค. line_counter = 0 #ํ์ผ์ ์ด ์ค์๋ฅผ ์ธ๋ ๋ณ์data_header = [] #data์ ํ๋๊ฐ์ ์ ์ฅํ๋ listcustomer_list = [] #cutomer ๊ฐ๋ณ List๋ฅผ ์ ์ฅํ๋ Listwith open("customers.csv", 'r') as customer_data:์ด์ํ ๋ถ๋ถ์ f = open("customers.csv", 'r', encoding = "utf-8")contents = f.read()print(contents)์ด๋ฐ ์์ผ๋ก open ์ ํ์ฌ ์ฝ์ผ๋ฉด ์ฝ๋๊ฐ ๋ค ์คํ์ด ๋ฉ๋๋ค.๋จ์ํ with ์ open์ ๊ฐ์ด ์ฐ๋ฉด unexpected EOF ๋ผ๊ณ ๋น๋๋ค. ํน์ ์ด๋ฐ ๊ฒฝ์ฐ๋ ์์๋์?