java.io流的基本常用类 Java.io包下面的类主要是对文件的操作 包括File,inputStream,OutputStream,Reader和Writer及其子类。 1. FLie类 File类常用构造函数: String parentPath = "C:\\Users\\Administ ...
分类:
编程语言 时间:
2021-03-30 12:49:11
阅读次数:
0
多层感知机 代码: import torch import numpy as np import torchvision #torch的视觉包 import torchvision.datasets as datasets import torchvision.transforms as trans ...
分类:
其他好文 时间:
2021-03-30 12:45:18
阅读次数:
0
1、 https://blog.csdn.net/msq16021/article/details/113617327 一开始都是这么简单的写,并无报错db = pymysql.connect("localhost", "root", "196811", "db_student",charset=" ...
分类:
数据库 时间:
2021-03-29 12:41:09
阅读次数:
0
2021-03-27 import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.concurrent.Ex ...
分类:
编程语言 时间:
2021-03-29 12:35:39
阅读次数:
0
Linux系统引入了两种链接,硬链接(hard link)与软连接(又称符号链接,即soft link或symbolic link) ln 命令语法格式 NAME ln - make links between files SYNOPSIS ln [OPTION]... [-T] TARGET LI ...
分类:
其他好文 时间:
2021-03-29 12:18:28
阅读次数:
0
无论是Samba服务还是NFS服务,都要把挂载信息写入到/etc/fstab中,这样远程共享资源就会自动随服务器开机而进行挂载。 [root@localhost ~]# yum install autofs Loaded plugins: langpacks, product-id, subscri ...
分类:
系统相关 时间:
2021-03-29 12:13:17
阅读次数:
0
##Aware接口 在Spring中有许多的Aware接口,提供给应用开发者使用,通过Aware接口,我们可以通过set的方式拿到我们需要的bean对象(包括容器中提供的一些对象,ApplicationContext等),根据需要可以将其注入到本地对象的属性中。 先来看一个Spring两个基础的接口 ...
分类:
编程语言 时间:
2021-03-29 11:50:44
阅读次数:
0
Zookeeper:Zookeeper安装与配置,ZooKeeper 命令操作,ZooKeeper JavaAPI 操作,ZooKeeper 集群 ...
分类:
编程语言 时间:
2021-03-29 11:48:50
阅读次数:
0
需求 实现React轮播图 使用库 swiper官网 https://swiperjs.com/react 实现方法 /** 组件:图片轮播*/ import React, { Component } from "react"; import SwiperCore, { Navigation, Pa ...
分类:
其他好文 时间:
2021-03-29 11:45:53
阅读次数:
0
1.执行安装mysql的语句 sudo apt-get install mysql-server mysql-client 2.查看可登陆账户并查看密码 3.获取到了登陆mysql的账户密码登陆 4.之后依次进入mysql数据库,修改root密码,刷新缓存。之后就可以exit退出使用root账户登录 ...
分类:
数据库 时间:
2021-03-29 11:37:21
阅读次数:
0