上一页 1 2 3 4 5 6 7 8 9 10 ··· 123 下一页
摘要: 方法 @staticmethod def get_distance(fg, bg): """ 计算滑动距离 """ target = cv2.imdecode(np.asarray(bytearray(fg.read()), dtype=np.uint8), 0) template = cv2.im 阅读全文
posted @ 2023-01-13 17:45 公众号python学习开发 阅读(149) 评论(0) 推荐(0) 编辑
摘要: true = False def wazzup(): """ 假亦真时真亦假 """ false = True or False def true(): nonlocal false false = True return false false = true() false = True if f 阅读全文
posted @ 2023-01-12 11:00 公众号python学习开发 阅读(60) 评论(0) 推荐(0) 编辑
摘要: adb logcat -c -b main -b events -b radio -b system 阅读全文
posted @ 2023-01-11 10:27 公众号python学习开发 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1.迭代的方式 def reverse(self, head): if head is None or head.next is None: return head cur = head pre = None while cur: tmp = cur.next cur.next = pre pre 阅读全文
posted @ 2023-01-06 11:50 公众号python学习开发 阅读(108) 评论(0) 推荐(0) 编辑
摘要: def delete_k_node(self, head, index): """ 删除链表倒数第k个节点 :param head: :param index: :return: """ # 虚拟头结点 dummy = Node(-1) dummy.next = head # p2指向dummy,p 阅读全文
posted @ 2023-01-05 19:42 公众号python学习开发 阅读(82) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- # @Time : 2022/12/27 4:37 下午 # @Author : chenxiangan # @File : mp4tomp3.py # @Software: PyCharm import click import ffmpeg @cl 阅读全文
posted @ 2022-12-27 17:10 公众号python学习开发 阅读(44) 评论(0) 推荐(0) 编辑
摘要: udp_server.c #include <stdio.h> #include <strings.h> #include "arpa/inet.h" void udp_server() { printf("%s\n","in udp server"); int sock_fd = socket(A 阅读全文
posted @ 2022-12-23 19:55 公众号python学习开发 阅读(65) 评论(0) 推荐(0) 编辑
摘要: import asyncio import datetime import json import pymongo import requests from apscheduler.schedulers.asyncio import AsyncIOScheduler from redis impor 阅读全文
posted @ 2022-12-20 16:30 公众号python学习开发 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 看一下app目录下的build.gradle文件,将 dependencies 闭包下这两行 implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:materia 阅读全文
posted @ 2022-12-08 14:20 公众号python学习开发 阅读(765) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- # @Time : 2022/12/7 10:18 上午 # @Author : chenxiangan # @File : gen_title.py # @Software: PyCharm import glob import json impor 阅读全文
posted @ 2022-12-07 11:22 公众号python学习开发 阅读(57) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 123 下一页