回答編集履歴
1
追記
test
CHANGED
@@ -1,3 +1,13 @@
|
|
1
1
|
`python r"c:\~"`の先頭の`r`は不要です。以下のように実行してください。
|
2
2
|
|
3
3
|
`C:\Users\user>python "C:\Users\user\Desktop\研究\5月31pythonのやつ\tw12.py"`
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
逆に、pythonコード中、以下のように`r`をつけてraw文字列として指定してください。
|
8
|
+
|
9
|
+
`data_folder = r"C:\Users\user\Desktop\研究\5.31pythonのやつ\hai"`
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
参考:[raw文字列](https://www.pythonweb.jp/tutorial/string/index4.html)
|