摘要: 示例1 import numpy as np import matplotlib.pyplot as plt #plt.rcParams['font.family'] = ['sans-serif'] #用来正常显示中文标签 plt.rcParams['font.sans-serif'] = ['S 阅读全文
posted @ 2020-06-11 15:00 华小电 阅读(309) 评论(0) 推荐(0)
摘要: 1、分割pdf文件 从原文件中取出n-m页,保留原文件的目录格式: qpdf infile.pdf --pages . n-m -- outfile.pdf 从原文件中取出n-m页,不保留原文件的目录格式: qpdf --empty --pages infile.pdf n-m -- outfile 阅读全文
posted @ 2020-05-23 09:54 华小电 阅读(4020) 评论(0) 推荐(0)
摘要: xlwings 中文文档 xlwings,让excel飞起来! xlwings 的使用教程 阅读全文
posted @ 2020-05-19 11:02 华小电 阅读(299) 评论(0) 推荐(0)
摘要: 常见的机器可读格式包括: - 逗号分隔值(Comma-Separated Values,CSV)- 制表符分隔值(tab-separated values,TSV)- JavaScript 对象符号(JavaScript Object Notation,JSON)- 可扩展标记语言(eXtensib 阅读全文
posted @ 2020-05-19 10:30 华小电 阅读(248) 评论(0) 推荐(0)
摘要: 1. sudo apt-get install nvidia-detect nvidia-detect 输出信息: Detected NVIDIA GPUs: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119M [G 阅读全文
posted @ 2020-05-10 15:09 华小电 阅读(2002) 评论(0) 推荐(0)
摘要: 惠普一体机用的无线网卡是Ralink的 RL5390,安装Debian10以后没有驱动,网上下载firmware-misc-nonfree_20190114-2_all.deb 和firmware-ralink_20190114-2_all.deb,安装以后发现无线网卡的名字是wlp4s0,先启动网 阅读全文
posted @ 2020-05-06 06:26 华小电 阅读(703) 评论(0) 推荐(0)
摘要: 加粗字体的颜色修改 strong, b{ color: #111111; } 斜体的颜色修改 em, i { color: #111111; } 高亮字体的背景颜色修改 #write mark { background-color:#111111 ; } 删除线字体颜色修改 #write del { 阅读全文
posted @ 2020-03-23 15:51 华小电 阅读(650) 评论(0) 推荐(0)
摘要: 在需要分页之处,插入代码: <div STYLE="page-break-after: always;"></div> 阅读全文
posted @ 2020-03-08 11:38 华小电 阅读(719) 评论(0) 推荐(0)
摘要: from PyPDF2 import PdfFileMerger import os files = os.listdir()#列出目录中的所有文件 merger = PdfFileMerger() for file in files: #从所有文件中选出pdf文件合并 if file[-4:] = 阅读全文
posted @ 2020-02-12 09:03 华小电 阅读(6365) 评论(0) 推荐(0)
摘要: app = pg.QtGui.QApplication([]) win = pg.GraphicsWindow(title="数据滚动") win.resize(600,300) p = win.addPlot() # Use automatic downsampling and clipping 阅读全文
posted @ 2020-01-30 14:13 华小电 阅读(1503) 评论(0) 推荐(0)