2020年5月20日

网络编程

摘要: 一、OSI七层模型 https://www.cnblogs.com/wangyong123/articles/12934205.html 二、socket Socket是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/I 阅读全文

posted @ 2020-05-20 22:50 软饭攻城狮 阅读(225) 评论(0) 推荐(0) 编辑

小功能

摘要: 一、前后端文件流式传输 二、在word中创建表格 三、打包成exe程序 四、前端自定义鼠标右键事件 五、线程猜出FTP的密码 阅读全文

posted @ 2020-05-20 19:08 软饭攻城狮 阅读(130) 评论(0) 推荐(0) 编辑

在word中创建表格

摘要: 一、模块安装 pip install python-docx 二、制作word中的表格 from docx import Document from docx.shared import Inches, Pt from docx.oxml.ns import qn from docx.enum.te 阅读全文

posted @ 2020-05-20 19:06 软饭攻城狮 阅读(438) 评论(0) 推荐(0) 编辑

前后端文件流式传输

摘要: 一、前端下载本地文件 // 文件就在前端某个文件夹下面 downloadDocumentation() { let res = '@/download/SDK接口说明.docx'; // 文件的路径 let fileName = 'SDK接口说明.docx'; // 下载过后的文件名 let url 阅读全文

posted @ 2020-05-20 19:05 软饭攻城狮 阅读(4883) 评论(0) 推荐(0) 编辑

导航