python通过txt文本中提取目录(无论文章是否将目录提取到文章开头) 主要内容如下: 见发表的csdn链接 https://blog.csdn.net/Thefreelittle/article/details/121373855