1 正则表达式[^\\/:*?"<>|\r\n]+$ --->取文件名包括后缀 2 e.g. >>>D:\PyCharm 2018.2.4\pythonWork\venv\Scripts\python.txt 3 ->python.txt 4 5 正则表达式(.+?)\.txt --->取上次结果去掉后缀 6 e.g. >>>python.txt 7 ->python 8 部分代码应用截取>>> 9 def send(): 10 send...