回答編集履歴

2

成形

2022/09/03 14:56

投稿

LouiS0616
LouiS0616

スコア35660

test CHANGED
@@ -13,4 +13,5 @@
13
13
  ---
14
14
  > TypeError: expected str, bytes or os.PathLike object, not int
15
15
 
16
+ ↓ こういう意味です。
16
- 型エラー: str型・bytes型・os.PathLike型のどれかが欲しいよ、intじゃなくて。って意味です。
17
+ 型エラー: str型・bytes型・os.PathLike型のどれかが欲しいよ、intじゃなくて。

1

追記

2022/09/03 14:55

投稿

LouiS0616
LouiS0616

スコア35660

test CHANGED
@@ -9,3 +9,8 @@
9
9
 
10
10
  2行目の p を paths[p] に変えて下さい。
11
11
  あるいは for p in paths: として、6行目の paths[p] を p に変えて下さい。
12
+
13
+ ---
14
+ > TypeError: expected str, bytes or os.PathLike object, not int
15
+
16
+ 型エラー: str型・bytes型・os.PathLike型のどれかが欲しいよ、intじゃなくて。って意味です。