摘要:
print("徐嘉俊32") import jieba txt = open("E:\\大学\\Python\\西游记.txt","r",encoding='gb18030').read() words = jieba.lcut(txt) counts = {} for word in words: 阅读全文
posted @ 2023-12-29 02:48
徐嘉俊
阅读(26)
评论(0)
推荐(0)
摘要:
import sys import pygamepygame.init()size = width, height = 1000, 700screen = pygame.display.set_mode(size)color = (0, 0, 0)ball = pygame.image.load(" 阅读全文
posted @ 2023-12-29 02:45
徐嘉俊
阅读(41)
评论(0)
推荐(0)
摘要:
import requestsurl = "https://www.google.cn/"for i in range(20):try:r = requests.get(url, timeout = 30)r.raise_for_status()r.encoding = 'utf-8'print(r 阅读全文
posted @ 2023-12-29 02:29
徐嘉俊
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号