import mysqlconnector from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column,Integ ...
分类:
数据库 时间:
2020-06-27 16:10:42
阅读次数:
97
In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (wi ...
分类:
其他好文 时间:
2020-06-27 09:35:14
阅读次数:
75
#!/usr/bin/env python3 # coding=utf-8 # Version:python3.6.1 __date__ = '2020/5/23 10:21' __author__ = 'Lgsp_Harold' # account = "888888" # amt = 12345 ...
分类:
编程语言 时间:
2020-06-26 23:52:06
阅读次数:
77
Java工具类——包装类 我们都知道,JDK 其实给我们提供了很多很多 Java 开发者已经写好的现成的类,他们其实都可以理解成工具类,比如我们常见的集合类,日期相关的类,数学相关的类等等,有了这些工具类,你会发现它能很大程度的帮你节省时间,能很方便的实现你的需求。当然,没有这些包,你也能实现你的需 ...
分类:
编程语言 时间:
2020-06-26 19:56:48
阅读次数:
70
前言 我们都知道memberwiseclone 会将浅克隆。 什么是浅克隆?如何深克隆呢? 正文 public class good{ private good(){ oneclass=new class{ int id=8; string name='id'; } } private static ...
JPA 第1章1.ORM概述[了解] ORM(Object-Relational Mapping) 表示对象关系映射。在面向对象的软件开发中,通过ORM,就可以把对象映射到关系型数据库中。只要有一套程序能够做到建立对象与数据库的关联,操作对象就可以直接操作数据库数据,就可以说这套程序实现了ORM对象 ...
分类:
其他好文 时间:
2020-06-26 14:35:48
阅读次数:
144
JPA第二天 第1章Spring Data JPA的概述 1.1Spring Data JPA概述 Spring Data JPA 是 Spring 基于 ORM 框架、JPA 规范的基础上封装的一套JPA应用框架,可使开发者用极简的代码即可实现对数据库的访问和操作。它提供了包括增删改查等在内的常用 ...
分类:
编程语言 时间:
2020-06-26 14:26:14
阅读次数:
108
1 @ddt 2 class RegisterTestCase(unittest.TestCase): 3 cases = [ 4 {"title": "注册成功", "excepted": {"code": 1, "msg": "注册成功"}, "data": ['python1', '12345 ...
分类:
其他好文 时间:
2020-06-26 13:04:35
阅读次数:
69
pytest作为第三方自动化测试框架,深受大家的喜爱。本文主要介绍pytest框架进行自动化测试的API函数基础、经验和技巧。 ...
分类:
其他好文 时间:
2020-06-26 12:58:46
阅读次数:
55
页面元素的属性 tag_name 标签名 print(ele.tag_name) text 文本内容 parent 获取父级标签 页面元素的方法 get_attribute(属性名) 获取标签的属性 is_displayed() 判断元素是否可见 send_keys() 输入内容 click() 点 ...
分类:
其他好文 时间:
2020-06-26 12:26:49
阅读次数:
105