Loading

摘要: fewf # 打印各种图形 # 正方形 n行n列 # * * * # * * * # * * * def square1(n: int) -> None: for i in range(n): for j in range(n): print('*', end=' ') print() # 长方形 阅读全文
posted @ 2023-04-05 20:15 liqiju 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 使用不同的镜像源,下载包的时候可能会出现版本不匹配。则可以直接使用 pip install 包名 进行下载 速查版 pip freeze pip list pip install openpyxl pip install openpyxl==3.1.1 pip install openpyxl -i 阅读全文
posted @ 2023-03-17 22:12 liqiju 阅读(39) 评论(0) 推荐(0) 编辑
摘要: python虚拟环境 操作环境:python 3.10,windows10 简略速查 ### Windows # 1. 使用国内华为镜像源进行安装(下载速度快) pip install virtualenv -i https://repo.huaweicloud.com/repository/pypi/simple/ # 阅读全文
posted @ 2023-03-17 19:45 liqiju 阅读(26) 评论(0) 推荐(1) 编辑
摘要: 二叉树java实现 /** * 链表实现二叉树 * -创建二叉树 * -前序、中序、后序、层次遍历二叉树 * -判断值是否存在 * -二叉树高度 */ public class BinaryTree { // 链表节点 public static class Node { public String 阅读全文
posted @ 2022-07-28 08:41 liqiju 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 链表节点 public class Node { int data; Node next; public Node(int data) { this.data = data; } } 构造单向循环链表 /** * 单向循环链表 */ public class SingleLoopLink { pri 阅读全文
posted @ 2022-05-27 11:31 liqiju 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 在chrome地址栏中输入 chrome://flags/ 然后 完成。 附加:chrome进入恐龙游戏 chrome://dino/ 阅读全文
posted @ 2022-05-23 20:19 liqiju 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1. 导入jar包 <!-- swagger --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </depende 阅读全文
posted @ 2022-05-19 16:46 liqiju 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 一、什么是JDBC ​ JDBC是一套面向对象的应用编程接口,它制定了统一的访问各类关系数据库的标准接口,为各个数据库厂商提供了标准接口的实现。通过使用JDBC技术,开发人员可以用纯java和标准的SQL语句编写完整的数据库应用程序。 一下操作基于此表: -- auto-generated defi 阅读全文
posted @ 2022-03-11 15:06 liqiju 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 百度 jQuery CDN <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script> 1. $.ajax $.ajax({ // 请求地址 url : "http://localhost:8080/u 阅读全文
posted @ 2022-03-05 19:11 liqiju 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1. 顺序队列实现 public class SeqQueue<T> { private int front; // 队头指针 private int rear; // 队尾指针 private T[] queueArray; private static final int InitLen = 5 阅读全文
posted @ 2021-11-05 09:55 liqiju 阅读(54) 评论(0) 推荐(0) 编辑