发布时间:2023-01-06 17:11:35
import turtle as tfrom turtle import *import random as rimport time#定义几个函数先#定义画彩灯的函数def drawlight(): if r.randint(0,30) == 0: color('tomato') .........【阅读全文】
发布时间:2023-01-05 16:53:53
import osclass Student: def __init__(self,no,name,chinese,math,english): self.no = no self.name = name self.chines.........【阅读全文】
发布时间:2023-01-04 16:58:43
import pywififrom pywifi import constimport timeimport datetime# 测试连接,返回链接结果def wifiConnect(pwd): # 抓取网卡接口 wifi = pywifi.PyWiFi() # 获取第一个无线网卡 if.........【阅读全文】
发布时间:2022-12-29 16:28:53
# -*- coding: utf-8 -*-import jiebafrom wordcloud import WordCloudimport numpy as npfrom PIL import Imagefrom matplotlib import colorsimport collectionsdef chinese_jieba(): # 读取目标文本 with open(r'文本.txt', encod.........【阅读全文】
发布时间:2022-12-28 16:31:42
import gradio as grfrom modelscope.pipelines import pipelinefrom modelscope.utils.constant import Tasksfrom modelscope.utils.cv.image_utils import draw_face_detection_no_lm_resultfrom modelscope.preprocessors.image import LoadImagefrom PIL import Imageimport cv2import n.........【阅读全文】