回答編集履歴
1
answer
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
$ python3
|
3
3
|
Python 3.11.6 (main, Oct 8 2023, 05:06:43) [GCC 13.2.0] on linux
|
4
4
|
>>> from pathlib import Path
|
5
|
-
>>> [*Path('.').glob('/
|
5
|
+
>>> [*Path('.').glob('/test/*')]
|
6
6
|
Traceback (most recent call last):
|
7
7
|
File "<stdin>", line 1, in <module>
|
8
8
|
File "/usr/lib/python3.11/pathlib.py", line 950, in glob
|