📜  colab 获取文件名 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:56.485000             🧑  作者: Mango

代码示例2
example1 = "/content/example1.txt"
file1 = open(example1, "r")
print(file1.name)