- 博客(4)
- 收藏
- 关注
转载 python生成二维码
#!/usr/bin/env python # -*- coding:utf-8 -*- from MyQR import myqr myqr.run('wo shi she',picture='D:/code/qrcode/timg.jpg') quit() 可惜不支持中文
2019-01-30 22:08:26
291
原创 简易txt转html
txt是遵循markdown的规则写的 #!/usr/bin/env python # -*- coding:utf-8 -*- import re import markdown #读取txt a=open('test.txt') b=a.read() print(type(b)) abc=markdown.markdown(b) a.close() #正则表达式分成一个列表 input =...
2019-01-29 02:58:05
2135
1
转载 python3 简易FTP
python3 简易FTP win系统 #!/usr/bin/env python # -*- coding:utf-8 -*- from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import FTPServer ...
2019-01-26 20:37:22
532
原创 python备份文件
#!/usr/bin/env python # -*- coding:utf-8 -*- import os import time import zipfile target_dir = "D:\\test2\\" #目标文件夹 target = target_dir + time.strftime("%Y%m%d%H%M%S") + ".zip" # zip文件名字 #
2019-01-20 19:39:05
400
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅