发布时间:2021-10-28 17:24:04
from tkinter import *from tkinter import messageboxfrom tkinter import ttkimport osimport webbrowserimport urllib.request #发送网络请求,获取数据import gzip #压缩和解压缩模块import json .........【阅读全文】
发布时间:2021-10-25 17:19:37
import osimport cfgimport sysimport pygameimport randomfrom modules import *'''游戏初始化'''def initGame(): # 初始化pygame, 设置展示窗口 pygame.init() screen = pygame.display.set_mode(cfg.S.........【阅读全文】
发布时间:2021-10-22 17:20:40
import xml.etree.ElementTree as ETimport pickleimport osfrom os import listdir, getcwdfrom os.path import joinimport randomfrom shutil import copyfileclasses = ["hat", "person"] # 自定义类TRAIN_RATIO = 80 # 8:2 训练集和验证集比率def clear_hidden_files(path):.........【阅读全文】
发布时间:2021-10-19 17:27:16
# -*- coding: utf-8 -*-"""Created on Mon Oct 18 10:18:24 2021@author: 86493"""import torch import torch.nn as nnimport numpy as npimport matplotlib.pyplot as plt# 这里的type不用double,特斯拉GPU才doublexy = np.loadtxt('diabetes.csv', &nb.........【阅读全文】
发布时间:2021-10-18 17:29:13
import pymysqldef menu(): print("\t\t学生信息管理系统\t\t") print("\t\t1 添加学生\t\t") print("\t\t2 删除学生\t\t") print("\t\t3 修改学生\t\t") print("\t\t4 按.........【阅读全文】