12 2021 档案

摘要:1、for循环中的else条件 这是一个for-else方法,循环遍历列表时使用else语句。 下面举个例子,比如我们想检查一个列表中是否包含奇数。 那么可以通过for循环,遍历查找。 numbers = [2, 4, 6, 8, 1] for number in numbers: if numbe 阅读全文
posted @ 2021-12-30 14:40 Bonnie_ξ 阅读(85) 评论(0) 推荐(0) 编辑
摘要:import uiautomator2 as ui import time def douyin(): try: # 通过usb连接 d = ui.connect_usb() # 打开抖音 if d(text="抖音").exists: d(text="抖音").click() time.sleep 阅读全文
posted @ 2021-12-28 20:33 Bonnie_ξ 阅读(90) 评论(0) 推荐(0) 编辑
摘要:from flask import Flask, render_template, request, redirect, url_for, json, Response import requests from werkzeug.utils import secure_filename import 阅读全文
posted @ 2021-12-28 15:17 Bonnie_ξ 阅读(132) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- import sys,os from random import randint from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import * from PyQt5.QtCor 阅读全文
posted @ 2021-12-03 16:10 Bonnie_ξ 阅读(63) 评论(0) 推荐(0) 编辑
摘要:point_names-GUI.py(主程序GUI) import random import re import time import threading from tkinter import * from tkinter import ttk from base64 import b64de 阅读全文
posted @ 2021-12-03 10:20 Bonnie_ξ 阅读(1532) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示