機械学習を勉強中のものです。
オンライン教材でファイルをダウンロードしてそれをサンプルにして練習していくタイプです。
import numpy as np
import csv
with open ('2D_example_dame.csv') as f :
print(f.read())
と打つと、
FileNotFoundError Traceback (most recent call last)
<ipython-input-30-2cbd722d5b1f> in <module>()
2 import csv
3
----> 4 with open ('2D_example_dame.csv') as f :
5 print(f.read())
FileNotFoundError: [Errno 2] No such file or directory: '2D_example_dame.csv'
返ってきました。
finderの中にはちゃんとファイルがあるんです。
これは何が原因ですか?
分かる方教えてください。よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/04/08 22:55
2019/04/08 23:26
2019/04/08 23:30 編集
2019/04/09 04:46
2019/04/09 04:53