发布时间:2021-05-19 17:24:34
具体连接、测试代码:# server默认为127.0.0.1,如果打开了TCP动态端口的需要加上端口号,如'127.0.0.1:1433'# user默认为sa# password为自己设置的密码# database为数据库名字server = '127.0.0.1'user = "sa"password = "123456"database = "pubs"conn = pymssql.connect(server, .........【阅读全文】
发布时间:2021-05-18 17:34:32
import tkinterimport timeimport threadingfrom random import randomfrom tkinter import messagebox as tkMessageBoxclass choujiang: # 初始化魔术方法 def __init__(self): # 准备.........【阅读全文】
发布时间:2021-05-14 16:22:14
客户端package com.ZXF.Net;import java.io.*;import java.net.InetAddress;import java.net.Socket;public class TcpClientDemo1 { public static void main(String[] args) { Socket socket=null; .........【阅读全文】
发布时间:2021-05-13 17:17:00
简单神经网络构造import tensorflow as tfimport matplotlib.pyplot as pltimport numpy as nptf.set_random_seed(1)np.random.seed(1)# fake datax = np.linspace(-1, 1, 100)[:, np.newaxis] # shape (100, 1)noise = np.rando.........【阅读全文】
发布时间:2021-05-12 16:47:12
# -*- coding:utf-8 -*-from requests import getfrom filetype import guessfrom os import renamefrom os import makedirsfrom os.path import existsfrom json import loadsfrom contextlib import closing# 文件下载器def Down_load(file_url, file_full_name, now_photo_count,.........【阅读全文】