上一页 1 2 3 4 5 6 7 8 ··· 68 下一页
摘要: 需要指定版本 pika 0.10.0 # coding=utf-8 import pika if __name__ == '__main__': credentials = pika.PlainCredentials('taskmanager', 'dayuan666') connection_pa 阅读全文
posted @ 2024-12-06 14:59 vx_guanchaoguo0 阅读(13) 评论(0) 推荐(0)
摘要: 汉字转拼音 # coding=utf-8 from pypinyin import pinyin, lazy_pinyin, Style def contains_chinese(txt): for ch in txt: if u'\u4e00' <= ch <= u'\u9fff': return 阅读全文
posted @ 2024-12-06 14:57 vx_guanchaoguo0 阅读(13) 评论(0) 推荐(0)
摘要: 按照数量返回 db.getCollection("xxxx").aggregate([ { $match: { "daily.incomeMap": { $exists: true } } }, { $group: { _id: "$groupId", totalCount: { $sum: 1 } 阅读全文
posted @ 2024-12-05 11:47 vx_guanchaoguo0 阅读(7) 评论(0) 推荐(0)
摘要: 警告 CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will 阅读全文
posted @ 2024-12-04 08:53 vx_guanchaoguo0 阅读(171) 评论(0) 推荐(0)
摘要: 报错如下 python27 DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks. For more informat 阅读全文
posted @ 2024-12-04 08:41 vx_guanchaoguo0 阅读(36) 评论(0) 推荐(0)
摘要: 方法 if callable(getattr(smartBox, 'get_receipt_button1', None)): pass 对象访问 class IncomeMap(dict): @property def totalIncome(self): return RMB(self.get( 阅读全文
posted @ 2024-12-03 11:43 vx_guanchaoguo0 阅读(12) 评论(0) 推荐(0)
摘要: choco install vcpython27 --version 9.0.0.30729 apt install build-essential wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz sudo tar xz 阅读全文
posted @ 2024-11-27 13:33 vx_guanchaoguo0 阅读(127) 评论(0) 推荐(0)
摘要: 下载与安装 安装包下载 Github 托管地址:Releases · msys2/msys2-installer · GitHub MSYS2 官网:MSYS2 : https://www.msys2.org/ Pacman 软件包管理 Pacman 是一个软件包管理器,作为 ArchLinux 发 阅读全文
posted @ 2024-11-26 10:30 vx_guanchaoguo0 阅读(1192) 评论(0) 推荐(0)
摘要: cmake_minimum_required(VERSION 3.29) project(untitled2) set(CMAKE_CXX_STANDARD 17) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) s 阅读全文
posted @ 2024-11-25 11:13 vx_guanchaoguo0 阅读(26) 评论(0) 推荐(0)
摘要: 修改脚本地址 PS C:\ProgramData\chocolatey\lib\nvm.install\tools\ChocolateyInstall.ps1 很多安装会检测是修改 [NuGet] Skipping 'C:\ProgramData\chocolatey\lib\graalvm\too 阅读全文
posted @ 2024-11-15 14:36 vx_guanchaoguo0 阅读(57) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 68 下一页