发布时间:2022-09-06 11:47:39
# !/usr/bin/env python# -*- coding: utf-8 -*-# 2022/09/03from selenium import webdriverimport datetimeimport timeclass Seckill(): def __init__(self,startTime, choose): self.startTime = startTime.........【阅读全文】
发布时间:2022-09-02 12:02:21
# @Time : 2022/8/23 10:38# @Author : 是Dream呀# @File : 中秋节.pyimport turtleimport timeimport pygameimport randomimport tkinter as tkimport threadingdef drawMoon(): # 绘制月亮 turtle.penup() # 画笔拿起 &nbs.........【阅读全文】
发布时间:2022-09-01 11:50:53
import turtleimport mathturtle.title("照彻乾坤,印透山河")turtle.bgpic("yueliang/1.png")p = turtle.Turtle()p.pensize(4)p.speed(3)#做月饼的面def ellipse(a,b,n=500,c='#CD950C'): p.penup() p.setpos(a,0) &nb.........【阅读全文】
发布时间:2022-08-26 14:07:09
from wordcloud import WordCloudimport wordcloudimport numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom PIL import Image, ImageDraw, ImageFont# 解决读取图片报错from PIL import ImageFileImageFile.LOAD_TRUNCATED_IMAGES = Trueimport os# 获取背景.........【阅读全文】
发布时间:2022-08-25 11:50:58
# file_name: excel_crawler_urllib3.pyimport urllib3import pandas as pddef download_content(url):# 创建一个 PoolManager 对象,命名为 httphttp = urllib3.PoolManager()# 调用 http 对象的 request 方法,第一个参数传一个字符串 "GET"# 第二个参数则是要下载的网址,也就是我们的 ur.........【阅读全文】