質問編集履歴
1
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Windowsのバッチで日本語が含まれるPythonプログラムを実行しようとするとエラーが起こります。
|
2
2
|
|
3
3
|
〇バッチ内
|
4
|
-
cd "E:\
|
4
|
+
cd "E:\xxx\xxx\分割_xxx\"
|
5
|
-
python "分割
|
5
|
+
python "分割_xxx.py"
|
6
6
|
|
7
7
|
〇実行結果
|
8
|
-
python: can't open file '蛻・牡
|
8
|
+
python: can't open file '蛻・牡_xxx.py': [Errno 2] No such file or directory
|
9
9
|
|
10
10
|
|
11
11
|
Pythonファイルを呼び出す時に文字化けを起こし、「ファイルが存在しません」をエラーが出ます
|