上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 数据再运算 a = range(0,15) b = [_**2 for _ in a] c = [str(_) for _ in a] print(b) print(c) output: [0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 阅读全文
posted @ 2021-07-04 16:09 PiaYie 阅读(75) 评论(0) 推荐(0)
摘要: NumPy 简单介绍一下数值计算库numpy, 主要用来存储和计算矩阵。https://numpy.org/ 主要功能包括: N 维数组对象 Array(最基本的数据结构) 成熟的广播机制 能够解决线性代数、随机数生成数相关问题 import numpy as np import numpy.lin 阅读全文
posted @ 2021-07-04 14:54 PiaYie 阅读(110) 评论(0) 推荐(0)
摘要: 端口可分为虚拟端口和物理端口,其中虚拟端口指计算机内部或交换机路由器内的端口,不可见。例如计算机中的80端口、21端口、23端口等。物理端口又称为接口,是可见端口,计算机背板的RJ45网口,交换机路由器集线器等RJ45端口。电话使用RJ11插口也属于物理端口的范畴。 分类 硬件端口 CPU通过接口寄 阅读全文
posted @ 2021-07-04 12:48 PiaYie 阅读(271) 评论(0) 推荐(0)
摘要: python的IDE(Integrated Development Environment 集成开发环境) 例如PyCharm,但它本身无法执行python代码,执行代码是由python解释器负责。即python的不同版本,可以在官网下载。 Anaconda:组装 Python 常用包和环境在一起, 阅读全文
posted @ 2021-07-03 13:27 PiaYie 阅读(85) 评论(0) 推荐(0)
摘要: 掌握 时间戳↔时间数组↔时间字符串 的转化。 我们在写程序时可能用到记录时间的地方,例如: 日志管理必然会记录时间 统计程序执行开始、结束时间 测试一个函数执行时长 python中与时间相关的模块:time && datetime time模块表达时间的方法 设定一个零点作为基准(初始时间),偏移长 阅读全文
posted @ 2021-07-03 11:50 PiaYie 阅读(50) 评论(0) 推荐(0)
摘要: 以下列出读取目录下所有文件的方法,遇到添加。 方法1 cmd dir + 读文件 在windows命令行中 dir d:\SVN\myWorld\VS2019\QM_improve\4317server /d/w/s/b > filelist.txt 然后读文件: void get_finename 阅读全文
posted @ 2021-04-02 12:01 PiaYie 阅读(173) 评论(0) 推荐(0)
摘要: Syntax 1: Compares the string *this with the string str. int string::compare (const string& str) const Returns: 0 : if both strings are equal. A value 阅读全文
posted @ 2021-04-01 11:50 PiaYie 阅读(205) 评论(0) 推荐(0)
摘要: Syntax 1: Erases all characters in a string string& string ::erase () // CPP code to illustrate // erase() function #include <iostream> #include <stri 阅读全文
posted @ 2021-04-01 10:51 PiaYie 阅读(707) 评论(0) 推荐(0)
摘要: 编写C程序的时候可以用sourceinsught、VS、whatever 官网下载:https://www.jianshu.com/go-wild?ac=2&url=https%3A%2F%2Fwww.sourceinsight.com%2Fupdates%2F下载十六进制编辑器sublime:ht 阅读全文
posted @ 2021-03-19 22:22 PiaYie 阅读(403) 评论(0) 推荐(0)
摘要: 访问官网:http://www.ee.ic.ac.uk/hp/staff/dmb/perl/index.html 写在前面 首先需要确定电脑上已经装好texlive, 包含了 bibtex.exe,如: 然后,装好了word, 下载bibtex4word http://www.ee.ic.ac.uk 阅读全文
posted @ 2021-03-10 20:32 PiaYie 阅读(1907) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页