2020年11月5日
摘要: https://www.cnblogs.com/liuqi-beijing/p/6228561.html shutil.copyfile(src, dst):复制文件内容(不包含元数据)从src到dst。 DST必须是完整的目标文件名; 如果src和dst是同一文件,就会引发错误shutil.Err 阅读全文
posted @ 2020-11-05 21:47 一杯明月 阅读(11044) 评论(0) 推荐(0)
摘要: import os if os.path.isdir(path): print "it's a directory" elif os.path.isfile(path): print "it's a normal file" else: print "it's a special file(sock 阅读全文
posted @ 2020-11-05 16:54 一杯明月 阅读(10108) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/162867000 人要找到自己所爱又擅长的事情,然后下定决心要把这件事坚持做一辈子,并且要越做越好,越做越快,我们才能收获喜悦和财富。 他说:努力是没有用的,如果你没有发挥你的天赋才华。你听从父母的意见,努力学习,努力工作,努力经营家庭。 阅读全文
posted @ 2020-11-05 16:09 一杯明月 阅读(188) 评论(0) 推荐(0)