摘要: 🚀 MiniMax Token Plan 惊喜上线!新增语音、音乐、视频和图片生成权益。邀请好友享双重好礼,助力开发体验!好友立享 9折 专属优惠 + Builder 权益,你赢返利 + 社区特权!👉 立即参与:MiniMax Token Plan < 阅读全文
posted @ 2026-04-14 21:38 Hany47315 阅读(95) 评论(0) 推荐(0)
摘要: hany123 阅读全文
posted @ 2026-01-23 10:44 Hany47315 阅读(209) 评论(0) 推荐(0)
摘要: from concurrent import futures import toga from toga.style import Pack from toga.style.pack import COLUMN, CENTER import asyncio import time def sync_ 阅读全文
posted @ 2025-04-18 16:37 Hany47315 阅读(39) 评论(0) 推荐(0)
摘要: partial 生成偏函数 concurrent.futures的map函数 with futures.ThreadPoolExecutor() as executor: 函数名 = partial(待处理函数,相关参数,可以为整数,字符串,可迭代对象) executor.map(函数名,可迭代对象 阅读全文
posted @ 2022-07-15 11:48 Hany47315 阅读(103) 评论(0) 推荐(0)
摘要: import pymysql pymysql.install_as_MySQLdb() host = '127.0.0.1' user = 'user ' password = 'password ' port = 3306 database = 'database' conn_database = 阅读全文
posted @ 2022-06-29 10:45 Hany47315 阅读(97) 评论(0) 推荐(0)
摘要: 1. python基础知识点 2. 字符串 3. 排序 4. 数据结构 5. 正则表达式 6. 线程 7. math 库 random 库 wordcloud 库 8. numpy基础 9. pandas基础 10. matplotlib简单图 11. mysql语句 12. 使用 pymysql 阅读全文
posted @ 2021-03-10 11:14 Hany47315 阅读(182) 评论(0) 推荐(0)
摘要: 🚀 MiniMax Token Plan 惊喜上线!新增语音、音乐、视频和图片生成权益。邀请好友享双重好礼,助力开发体验! 好友立享 9折 专属优惠 + Builder 权益,你赢返利 + 社区特权!👉 立即参与:MiniMax Token Plan 阅读全文
posted @ 2026-04-27 23:18 Hany47315 阅读(78) 评论(0) 推荐(0)
摘要: 求助力!帮我提升ima存储空间助力成功后你也可以激活30G免费空间,办公、学习资料任意存 链接地址 阅读全文
posted @ 2026-04-27 14:59 Hany47315 阅读(145) 评论(0) 推荐(0)
摘要: 方舟 Coding Plan 支持 Doubao、GLM、DeepSeek、Kimi、MiniMax 等模型,工具不限,现在订阅9折,低至36元,订阅越多越划算!立即订阅: 方舟 Coding Plan 邀请码:TG47389Y 阅读全文
posted @ 2026-04-22 20:46 Hany47315 阅读(88) 评论(0) 推荐(0)
摘要: 下载全能 AI 助手 - 豆包电脑版: 跳转链接 帮我完成大奖助力吧!下载完成后需在豆包电脑版中登录然后填写邀请码:8Y7X0NX,你也可以免费获得一次抽奖机会~ 阅读全文
posted @ 2026-04-20 17:10 Hany47315 阅读(28) 评论(0) 推荐(0)
摘要: $ErrorActionPreference = "Stop" Write-Host " SkillHub Installer " -ForegroundColor Cyan # 1. Download Write-Host "[1/3] Downloading..." -ForegroundCol 阅读全文
posted @ 2026-03-20 19:18 Hany47315 阅读(644) 评论(0) 推荐(0)
摘要: 前言: 众所周知windows一般情况下只有server版支持多用户同时远程连接,普通的windows是不支持的,但是我们可以破解一个DLL来让windows10/11支持该特性。 步骤: github上有个项目叫rdpwrap可以破解该DLL文件,很遗憾该项目自从2017年后便再没更新过。因此该项 阅读全文
posted @ 2025-05-06 20:09 Hany47315 阅读(938) 评论(0) 推荐(0)
摘要: ROS 常用命令 工作空间与包管理 # 创建工作空间 mkdir -p ~/catkin_ws/src cd ~/catkin_ws/ catkin_make source devel/setup.bash # 创建 ROS 包 cd ~/catkin_ws/src catkin_create_pk 阅读全文
posted @ 2025-03-27 09:40 Hany47315 阅读(336) 评论(0) 推荐(0)
摘要: { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false, "registry-mirrors": [ "https://hub-mirror.c.163.com", 阅读全文
posted @ 2025-02-24 22:52 Hany47315 阅读(1110) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Demo</title> <!-- 请勿在 阅读全文
posted @ 2024-11-28 10:15 Hany47315 阅读(79) 评论(0) 推荐(0)
摘要: 在项目目录输入 git config --global credential.helper store 然后进行 git pull 输入用户名和密码 以后再 git pull 就不用录入了 阅读全文
posted @ 2022-12-07 09:32 Hany47315 阅读(111) 评论(0) 推荐(0)
摘要: LOG_PATH = 'logs/debug' # 日志配置 LOGGING = { 'version': 1, #定义了配置文件的版本 'disable_existing_loggers': False, ## True表示禁用logger # 格式化 'formatters': { 'defau 阅读全文
posted @ 2022-07-19 10:40 Hany47315 阅读(163) 评论(0) 推荐(0)
摘要: from win32com.client import Dispatch def just_open(filename='文件的绝对路径'): xlApp = Dispatch("Excel.Application") xlApp.Visible = False xlBook = xlApp.Wor 阅读全文
posted @ 2022-07-12 10:24 Hany47315 阅读(196) 评论(0) 推荐(0)
摘要: 将系统打开word 的默认应用修改为 office的word,不要使用wps 阅读全文
posted @ 2022-06-24 14:55 Hany47315 阅读(611) 评论(0) 推荐(0)
摘要: from functools import wraps import time def timefn(fn): """计算性能的修饰器""" @wraps(fn) def measure_time(*args, **kwargs): t1 = time.perf_counter() result = 阅读全文
posted @ 2022-06-09 14:05 Hany47315 阅读(85) 评论(0) 推荐(0)
摘要: import pyperclip pyperclip.copy(sql) 不支持linux 阅读全文
posted @ 2022-05-30 16:12 Hany47315 阅读(52) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_41945846/article/details/82589407 阅读全文
posted @ 2022-05-26 15:19 Hany47315 阅读(103) 评论(0) 推荐(0)
摘要: pip3 install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 包名称 pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.do 阅读全文
posted @ 2022-05-25 14:32 Hany47315 阅读(63) 评论(0) 推荐(0)
摘要: https://wxpy.readthedocs.io/zh/latest/index.html 阅读全文
posted @ 2022-04-01 22:19 Hany47315 阅读(70) 评论(0) 推荐(0)
摘要: https://www.biaodianfu.com/python-schedule.html 阅读全文
posted @ 2022-04-01 22:13 Hany47315 阅读(41) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/a663e52e6488 import queue import datetime import threading import functools class DelayedTask(object): def __init__(self, pl 阅读全文
posted @ 2022-04-01 22:01 Hany47315 阅读(105) 评论(0) 推荐(0)
摘要: import pandas as pd import pandex import urllib.request import matplotlib.pyplot as plt plt.rcParams['font.sans-serif'] = ['SimHei'] data_dic = { 'dat 阅读全文
posted @ 2022-04-01 21:16 Hany47315 阅读(791) 评论(0) 推荐(0)
摘要: 最开始我使用到的 OCR 识别版本(v2.3) 当前版本界面(v5.38) 识别方面,确实很好用。截图之后,可以选择复制识别文本。 下载地址 https://gitee.com/DDDDDGOOO/PandaOCR.Pro#https://gitee.com/link?target=https%3A 阅读全文
posted @ 2022-03-31 23:10 Hany47315 阅读(387) 评论(0) 推荐(0)
摘要: btn.config(state=tk.DISABLED) https://tieba.baidu.com/p/6734353611 阅读全文
posted @ 2022-03-31 11:56 Hany47315 阅读(176) 评论(0) 推荐(0)
摘要: 使用 sys.exit(0) 比 exit(0) 在退出时,更加兼容 阅读全文
posted @ 2022-03-30 17:20 Hany47315 阅读(57) 评论(0) 推荐(0)
摘要: UPDATE 表名 AS 别名 SET 别名.字段 = ( CASE 别名.字段 WHEN 1 THEN 999 WHEN 2 THEN 1000 END) WHERE 条件; 阅读全文
posted @ 2022-03-30 15:26 Hany47315 阅读(118) 评论(0) 推荐(0)
摘要: import subprocess subprocess.run(cmd代码,shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) 阅读全文
posted @ 2022-03-28 11:25 Hany47315 阅读(319) 评论(0) 推荐(0)
摘要: from django.conf import settings import django import pymysql pymysql.install_as_MySQLdb() INSTALLED_APPS = [] DATABASES = { 'default': { 'ENGINE': 'd 阅读全文
posted @ 2022-03-25 12:42 Hany47315 阅读(1011) 评论(0) 推荐(0)
摘要: from django.http import HttpResponse,JsonResponse from django.shortcuts import render from django.db import connection # Create your views here. ''' i 阅读全文
posted @ 2022-03-09 21:16 Hany47315 阅读(226) 评论(0) 推荐(0)
摘要: from datetime import datetime t = datetime.now() print(datetime.date(t)) print(t.isoformat(sep = ' ',timespec = 'seconds')) print(t.timestamp().__str_ 阅读全文
posted @ 2022-03-03 10:00 Hany47315 阅读(439) 评论(0) 推荐(0)
摘要: from datetime import datetime t = datetime.now() now_time = t.isoformat(sep=' ', timespec='seconds') 阅读全文
posted @ 2022-02-25 09:39 Hany47315 阅读(180) 评论(0) 推荐(0)
摘要: 颜色方案 list(plt.colormaps.keys()) import numpy as np import matplotlib.pyplot as plt category_names = ['Strongly disagree', 'Disagree', 'Neither agree n 阅读全文
posted @ 2022-02-21 14:15 Hany47315 阅读(334) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/172873.htm limit: Number.MAX_VALUE 阅读全文
posted @ 2022-02-19 11:18 Hany47315 阅读(728) 评论(0) 推荐(0)
摘要: DELETE 别名 FROM 表名 别名 WHERE 别名.字段1 = '值' and 别名.字段2 = '值2' 阅读全文
posted @ 2022-02-19 10:34 Hany47315 阅读(88) 评论(0) 推荐(0)
摘要: import MySQLdb # 打开数据库连接 db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", charset='utf8',port = 3306) # 使用cursor()方法获取操作游标 cursor = 阅读全文
posted @ 2022-02-16 16:44 Hany47315 阅读(61) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/randomlee/p/9752705.html pip install django-cors-headers==3.10.0 INSTALLED_APPS = [ ... 'corsheaders', ... ] MIDDLEWARE_CLASSE 阅读全文
posted @ 2022-02-15 16:50 Hany47315 阅读(270) 评论(0) 推荐(0)