![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python日常
崖高人远
这个作者很懒,什么都没留下…
展开
-
Python Tkinter 小工具 开启/关闭 WSL服务
【代码】Python Tkinter 小工具 开启/关闭 WSL服务。原创 2022-12-19 17:21:05 · 292 阅读 · 1 评论 -
shutil.move的目标文件夹不存在
#encoding=utf-8import osimport shutilshutil.move("./movelnk.txt","C:/123")123这个文件夹不存在,这样move也可以起到删除文件的作用了?原创 2015-11-13 23:47:07 · 3377 阅读 · 0 评论 -
Python脚本:清理桌面
想清理一下文件,将桌面上的文件清理到指定的文件夹下。Python源代码:#encoding=utf-8import osimport shutilDeskTopPath = "C:\\Users\\xiangheng\\Desktop\\"PublicDeskTopPath = "C:\\Users\\public\\Desktop\\"DesPath = "C:\\Users原创 2015-11-13 23:44:28 · 747 阅读 · 0 评论