回答編集履歴
1
出力が相対パスになっていたため名前に変更
answer
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
place = items[index].externalBook.sheetDataSet.sheetData[0].row[0].cell[0].r
|
9
9
|
if place == "E3":
|
10
10
|
Mystr = wb._external_links[index].file_link.Target
|
11
|
-
Mystr = Mystr.replace("file:///", "")
|
12
|
-
|
11
|
+
name = os.path.basename(Mystr)
|
12
|
+
print(name)
|
13
13
|
|
14
14
|
```
|
15
15
|
|