Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3592157
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2021-05-20 17:24:14

花纹设计from turtle import Turtle, mainloopfrom time import clock# wrapper for any additional drawing routines# that need to know about each otherclass Designer(Turtle):    def design(self, homePos, scale):       &n.........【阅读全文】

阅读(971) | 评论(0) | 转发(0)

发布时间: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, .........【阅读全文】

阅读(1758) | 评论(0) | 转发(0)

发布时间:2021-05-18 17:34:32

import tkinterimport timeimport threadingfrom random import randomfrom tkinter import messagebox as tkMessageBoxclass choujiang:    # 初始化魔术方法    def __init__(self):        # 准备.........【阅读全文】

阅读(1787) | 评论(0) | 转发(0)

发布时间: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;  .........【阅读全文】

阅读(1120) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(892) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册