質問編集履歴
1
###試したこと欄の「そのまま実行」⇒「os\.path\.abspath\(__file__\)で取得」に修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
###試したこと
|
20
20
|
|
21
|
-
・
|
21
|
+
・os.path.abspath(__file__)で取得すると「/main.py」(実行するファイル)のパスを返します。
|
22
22
|
|
23
23
|
|
24
24
|
|