#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/12/30 10:51 # @Site : # @File : jd_iphone.py # @Software: PyCharm import json import time ...
分类:
其他好文 时间:
2020-01-01 18:59:17
阅读次数:
74
https://docs.python.org/zh-cn/3/tutorial/controlflow.html#unpacking-argument-lists ...
分类:
编程语言 时间:
2019-12-31 21:19:25
阅读次数:
97
一、初识继承 面向对象的三大特性:继承,多态,封装。这3大特性是所有面向对象语言特点 父类:又叫超类、基类 子类:又叫派生类 class Parent:pass class Son(Person):pass 继承一般有2种:单继承和多继承 class ParentClass1: #定义父类 pass ...
分类:
编程语言 时间:
2019-12-31 18:42:43
阅读次数:
77
22岁危龄人士初学C语言,搭建环境遇问题, 按照“标准”将notepad++和MinGW全部设置完成后还是会出现“gcc: error: 路径 invalid argument”这种问题,折腾了两三个小时,最后终于搞定了。 Hello world! 我的方法: 在CSDN上看了很多博客,总结了搭建环 ...
分类:
编程语言 时间:
2019-12-31 12:36:26
阅读次数:
76
函数式接口 Predicate @FunctionalInterface public interface Predicate<T> { /** * Evaluates this predicate on the given argument. * * @param t the input argu ...
分类:
其他好文 时间:
2019-12-30 21:00:05
阅读次数:
80
/// /// Adds the minimum essential MVC services to the specified . Additional services /// including MVC's support for authorization, formatters, and ... ...
分类:
其他好文 时间:
2019-12-30 19:01:21
阅读次数:
82
一、缺省参数:调用函数时,缺省参数的值未传入,则被传入默认值 >>> def test1(x,y,z=10): print(x,y,z) return x+y+z >>> print('三个数的总和为%s'%test1(1,5)) 1 5 10 三个数的总和为16 >>> 有默认值的参数,一定要位于 ...
分类:
编程语言 时间:
2019-12-29 23:40:53
阅读次数:
112
命令执行汇总 https://blog.csdn.net/silence1_/article/details/96135760 ① 空格过滤 < 、<>、%20(space)、%09(tab)、$IFS$9、 ${IFS}、$IFS等 ② 一些命令分隔符 linux中:%0a 、%0d 、; 、& ...
分类:
其他好文 时间:
2019-12-29 16:29:18
阅读次数:
117
Java 实现 import java.security.KeyFactory;import java.security.KeyPair;import java.security.KeyPairGenerator;import java.security.NoSuchAlgorithmExcepti ...
分类:
其他好文 时间:
2019-12-28 19:09:27
阅读次数:
405
1. 打开idea选择如下,next 2. 确定目录结构 3. 选择依赖,next,finish 初始化需要一会 4. pox.xml依赖 5. application.yml ( .properties是以键值对形式) 5.目录结构如下 resource中mapper路径要是“/”:com/xxx ...
分类:
编程语言 时间:
2019-12-28 19:03:43
阅读次数:
92