摘要:
爬取url网页里面所有的图片,把url填上就能用了,下面的自己看着改改进行筛选。 import requests import re import time import random import os def Find(string): # findall() 查找匹配正则表达式的字符串 st 阅读全文
摘要:
plt 报错像是下面这样子 File "C:\Users\abc\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 191, in _get_required_interacti 阅读全文
摘要:
temp = '' with open("strings.txt", "r", encoding='UTF-8') as f: list = f.readlines() s = ''.join(list).replace('\n', '').replace('\r', '') # s = s.rep 阅读全文
摘要:
import heapq q = [] n = int(input()) ar = list(map(int, input().split())) health= 0 cnt = 0 for v in ar: if v >= 0: cnt += 1 health += v else: if heal 阅读全文