一.python的注释方式: (1)python的单行注释: ctrl+/ # print('Hello World!') 这是当行注释 (2)python的多行注释: ''' ''' ' ' ' 这是多行注释 print('hello world') ' ' ' 二.变量以及数据类型: # a 我 ...
分类:
编程语言 时间:
2021-01-07 12:06:13
阅读次数:
0
<!-- 父组件 --> <template> <view> <syncA :title.sync="title"></syncA> </view> </template> <script> export default { data() { return { title:"hello vue.js ...
分类:
其他好文 时间:
2021-01-07 11:53:43
阅读次数:
0
环境: python 3.7.4 win 10 模块: flask 1.1.2 Flask-WTF 0.14.3 资料文档: 官网:https://flask-wtf.readthedocs.io/en/stable/ 辅助网站:http://wtforms.simplecodes.com/docs ...
分类:
其他好文 时间:
2021-01-06 12:35:58
阅读次数:
0
统计单词频率 import java.util.*; public class test { public static void main(String[] args) { final String speech = "It was the best of times, it was the wo ...
分类:
其他好文 时间:
2021-01-06 12:31:58
阅读次数:
0
keys * //查看当前库里的所有key值\ set key value //存值 get key //取值 exists key//判断当前值是否存在 move key 1 //移除当前的key expire key10 //设置key的过期时间 单位是秒 ttl key //查看key的剩余时 ...
分类:
其他好文 时间:
2021-01-06 12:24:45
阅读次数:
0
原生页面的基本应用 <!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <ti ...
分类:
其他好文 时间:
2021-01-06 12:16:26
阅读次数:
0
JAVA 实现: class Trie { private Node head; /** * Initialize your data structure here. */ public Trie() { this.head = new Node(); } /** * Inserts a word ...
分类:
其他好文 时间:
2021-01-06 12:15:16
阅读次数:
0
一 导读 vi 和vim :vi是linux自带的,类似于Windows的记事本。vim 是vi加强版,使用广泛。 二 命令讲解 1:正常模式 直接vim打开一个文档。2:插入模式 按下i o a r 其中任何一个,大小写均可。3:命令行模式 先按Esc 然后输入 : w(Write写入文件)q(Q ...
分类:
系统相关 时间:
2021-01-06 12:08:49
阅读次数:
0
第1章 - 项目介绍和工程搭建 学习目标: 了解十次方项目需求; 了解前后端分离开发模式 理解RESTful 完成项目开发环境搭建 完成父工程、公共模块和文章微服务的搭建 掌握mybatis plus的使用,并开发完成文章微服务中文章的增删改查功能 掌握公共异常处理类的使用 1 十次方项目需求分析 ...
分类:
其他好文 时间:
2021-01-06 12:07:21
阅读次数:
0
大家好,我们的git专题已经更新结束了,所以开始继续给大家写一点设计模式的内容。 今天给大家介绍的设计模式非常简单,叫做iterator,也就是迭代器模式。迭代器是Python语言当中一个非常重要的内容,借助迭代器我们可以很方便地实现很多复杂的功能。在深度学习当中,数据的获取往往也是通过迭代器实现的 ...
分类:
编程语言 时间:
2021-01-06 12:00:09
阅读次数:
0