摘要:
用Rust写个 QR.exe软件, 生成二维码格式: QR.exe /S3 /L11 /O"C:\QRCODE11\1.jpg" /T"123" 123 是原始字符. EXCEL VBA插入二维码图片. Function MK_QR(Enc_Dat, ECL, SIZ, sheetname As S
阅读全文
posted @ 2025-09-01 13:34
CrossPython
阅读(0)
推荐(0)
摘要:
同一个日志文件, 但是区分线程: import logging import threading # 配置日志 logging.basicConfig( filename='thread_log.log', filemode='a', format='%(asctime)s - %(threadNa
阅读全文
posted @ 2025-08-19 10:50
CrossPython
阅读(4)
推荐(0)
摘要:
多线程 import threading import time lock = threading.Lock() i = 0 def run(): global i while True: with lock: print(threading.current_thread().name, '=>',
阅读全文
posted @ 2025-08-13 10:15
CrossPython
阅读(4)
推荐(0)
摘要:
import threading import tkinter as tk import pystray from PIL import Image class GUI: def __init__(self): self.root = tk.Tk() self.root.title('演示窗口')
阅读全文
posted @ 2025-08-12 14:07
CrossPython
阅读(7)
推荐(0)
摘要:
https://blog.csdn.net/lglglgl/article/details/102842793 https://www.cnblogs.com/zzyan/p/4108772.html 导入数据库,执行命令PS D:\idempiere-server> .\utils\RUN_Imp
阅读全文
posted @ 2025-08-11 16:31
CrossPython
阅读(3)
推荐(0)
摘要:
$start = Date $env:JAVA_HOME = "C:\java\dragonwell8" $mvnSettingsFile = "C:\Users\sdt\.m2\settings.xml" cd C:\work-metas\metasfresh\misc\parent-pom C:
阅读全文
posted @ 2025-08-10 21:37
CrossPython
阅读(4)
推荐(0)
摘要:
<div class="o_diagram" style="display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; overflow: hidden;"> <iframe class="o_diagram
阅读全文
posted @ 2025-08-07 12:54
CrossPython
阅读(8)
推荐(0)
摘要:
import pandas as pd df = pd.DataFrame([ {'a': 1, 'b': 2}, {'a': 11, 'b': 2}, {'a': 111, 'b': 222}, ]) # df = df[(z20m_collection_df['a'] != 1) & (df['
阅读全文
posted @ 2025-08-07 09:13
CrossPython
阅读(5)
推荐(0)
摘要:
// 在顶层定义(类似于您现有的全局变量) static YOUR_VARIABLE_NAME: LazyLock<Arc<Mutex<DataType>>> = LazyLock::new(|| Arc::new(Mutex::new(initial_value))); // 示例:一个全局计数器
阅读全文
posted @ 2025-08-05 09:14
CrossPython
阅读(6)
推荐(0)
摘要:
def control_sim(enable=True): if enable: command = "netsh interface set interface name=grantSim admin=enable" subprocess.run(command, shell=True) time
阅读全文
posted @ 2025-07-27 20:26
CrossPython
阅读(7)
推荐(0)
摘要:
YM格式必须是 202501类似的整数, 首先根据上面的表新增一个日期表: 日期表 = VALUES('Sheet1'[ym]) 在主表里新增一个度量值, selected = VAR ym_selected = SELECTEDVALUE('日期表'[ym]) // 假设 '日期表' 是独立的日期
阅读全文
posted @ 2025-07-23 15:30
CrossPython
阅读(5)
推荐(0)
摘要:
排1名 = VAR CurrentCategory = 'Sheet1'[大类] VAR CurrentSupplier = 'Sheet1'[供应商] VAR CurrentYearMonth = 'Sheet1'[年月] VAR CurrentAmount = 'Sheet1'[金额] RETU
阅读全文
posted @ 2025-07-22 16:03
CrossPython
阅读(8)
推荐(0)
摘要:
Table = VAR TempTable = ADDCOLUMNS( 'Sheet1', "Rank", RANKX( FILTER('Sheet1', 'Sheet1'[id] = EARLIER('Sheet1'[id])), 'Sheet1'[date], , DESC, Dense ) )
阅读全文
posted @ 2025-07-21 16:09
CrossPython
阅读(13)
推荐(0)
摘要:
import pandas as pd from grant.sql_connection import tellus_conn sql = r'''select a.uid,REGEXP_REPLACE(a.beizhu, '[\\x00-\\x1F\\x7F]', '') AS beizhu_c
阅读全文
posted @ 2025-07-21 15:21
CrossPython
阅读(7)
推荐(0)
摘要:
平均数 = VAR CurrentYearMonth = '按月汇总表'[年月] VAR CurrentYear = INT(CurrentYearMonth / 100) VAR CurrentMonth = MOD(CurrentYearMonth, 100) VAR StartYearMont
阅读全文
posted @ 2025-07-15 11:07
CrossPython
阅读(8)
推荐(0)
摘要:
1. 拉 docker pull mysql:8 docker pull postgres:17 docker pull redis:latest 2. 装 密码 root docker run -d ` --name mysql ` -p 3306:3306 ` -e MYSQL_ROOT_PAS
阅读全文
posted @ 2025-07-12 10:10
CrossPython
阅读(13)
推荐(0)
摘要:
group name type date qty A grant male 2025/1/1 1 A edmond male 2025/1/2 2 A jush female 2025/1/3 3 B jella female 2025/1/4 4 B Hugs male 2025/1/5 5 C
阅读全文
posted @ 2025-07-09 09:21
CrossPython
阅读(5)
推荐(0)
摘要:
直接windows下安装部署: https://blog.csdn.net/m0_52919859/article/details/148643913 用podman部署 (docker收费) 1. 安装podman (略) 2. 拉取 Ollama 镜像 podman pull ollama/ol
阅读全文
posted @ 2025-07-05 20:36
CrossPython
阅读(71)
推荐(0)
摘要:
在格式代码框中输入:0;-0;"-" 或 #,##0;-#,##0;"-" 显示成M: 0,,.0M
阅读全文
posted @ 2025-07-04 16:43
CrossPython
阅读(9)
推荐(0)
摘要:
VAR CurrentDate = TODAY() VAR LastYear = YEAR(CurrentDate) - 1 VAR CurrentMonth = MONTH(CurrentDate) VAR CurrentDay = DAY(CurrentDate) VAR IsLeapYear
阅读全文
posted @ 2025-07-01 14:42
CrossPython
阅读(12)
推荐(0)
摘要:
from sqlalchemy import create_engine, text, inspect from sqlalchemy.exc import SQLAlchemyError from grant.sql_connection import jldb_conn as engine de
阅读全文
posted @ 2025-06-30 18:26
CrossPython
阅读(6)
推荐(0)
posted @ 2025-06-27 17:33
CrossPython
阅读(19)
推荐(0)
摘要:
查指定数据库表的字段和描述 SELECT COLUMN_NAME AS '字段名', COLUMN_COMMENT AS '字段注释', COLUMN_TYPE AS '数据类型', IS_NULLABLE AS '是否可为空' FROM INFORMATION_SCHEMA.COLUMNS WHE
阅读全文
posted @ 2025-06-18 09:08
CrossPython
阅读(10)
推荐(0)
摘要:
https://blog.csdn.net/qq_45351273/article/details/147517391 https://blog.csdn.net/vvvae1234/article/details/141565822
阅读全文
posted @ 2025-06-15 20:03
CrossPython
阅读(298)
推荐(0)
摘要:
_old\wuwuscan-server\src\test\java\cn\wuwu\scan\ProjectReactor.java
阅读全文
posted @ 2025-06-14 22:35
CrossPython
阅读(77)
推荐(0)
摘要:
allprojects { repositories {// google()// mavenCentral() maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.
阅读全文
posted @ 2025-06-14 11:16
CrossPython
阅读(17)
推荐(0)
摘要:
进入虚拟机podman machine ssh 这里可以该registray的国内镜像。 POWERSHELL 整体复制粘贴 podman run --name my-postgres ` -e POSTGRES_USER=postgres ` -e POSTGRES_PASSWORD=postgr
阅读全文
posted @ 2025-06-08 21:59
CrossPython
阅读(15)
推荐(0)
摘要:
gradle下载慢, 解决办法: flutter run 执行下载. 会自动创建目录: C:\Users\<user>\.gradle\wrapper\dists\gradle-8.7-all\aan3ydargesu18aqyqjwhr3pc\ 看到有目录后停止执行. 去下面的地址手动下载这个文件
阅读全文
posted @ 2025-06-04 23:00
CrossPython
阅读(6)
推荐(0)
摘要:
欧度软件数据收集Intent API 可在 Honeywell Android 手机终端与平板电脑使用。它通过提供简单易用的系统消息 API 即可对扫码硬件模块的访问,而无需安装复杂的 Honeywell SDK 来深度集成。 OdooApp先发送一个Intent事件来启动扫描程序并配置扫码参数,再
阅读全文
posted @ 2025-06-04 21:47
CrossPython
阅读(48)
推荐(0)
摘要:
<template> <div class="container"> <el-transfer ref="sortableRef" v-model="rightData" filterable :filter-method="filterMethod" filter-placeholder="请输入
阅读全文
posted @ 2025-05-18 08:26
CrossPython
阅读(48)
推荐(0)
摘要:
<template> <div class="container"> <el-transfer ref="transferRef" v-model="dataValue" :titles="['可选字段', '已选字段']" :data="transferData" @left-check-chan
阅读全文
posted @ 2025-05-17 14:52
CrossPython
阅读(64)
推荐(0)
摘要:
let // 获取当前年份和前一年 CurrentYear = Date.Year(DateTime.LocalNow()), PreviousYear = CurrentYear - 1, // 定义起始年份 StartYear = 2022, // 生成需要读取的年份列表 YearRange =
阅读全文
posted @ 2025-05-14 14:29
CrossPython
阅读(5)
推荐(0)
摘要:
关键字用途是否缓存是否需要手动指定依赖 computed 派生新值 ✅ 是 ❌ 否,自动追踪依赖 watch 监听变化并执行副作用 ❌ 否 ✅ 是 watchEffect 自动监听副作用函数内的依赖变化 ❌ 否 ❌ 否 ref / reactive 创建响应式数据 - - 生命周期钩子(如 onMo
阅读全文
posted @ 2025-05-10 09:46
CrossPython
阅读(7)
推荐(0)
摘要:
from DrissionPage import ChromiumOptions, ChromiumPage import time class DownloadTellusPDF: def __init__(self, download_folder): self.download_folder
阅读全文
posted @ 2025-05-06 11:11
CrossPython
阅读(152)
推荐(0)
摘要:
pandas, 比较2个dataframe, 其中basedf是基础表, 有所有的数据列, odoodf是数据表里面的列在basedf里都存在, 但是行数可能没有basedf多, 现在需要比较这2个df, 比较指定的几个列,这几个列必须在2个df里都存在. 基于一个主键列, 如果这2个df任何一列的
阅读全文
posted @ 2025-04-28 16:03
CrossPython
阅读(38)
推荐(0)
posted @ 2025-04-22 10:05
CrossPython
阅读(13)
推荐(0)
摘要:
1. 动态配置 & 系统工具模块 base(基础模块) ir.config_parameter(系统参数表)部分动态配置可能以JSON格式存储,例如第三方API的复杂配置。 ir.actions(动作配置)某些动作的上下文(context)或参数可能通过序列化字段存储。 web(前端模块) 用户自定
阅读全文
posted @ 2025-04-22 07:40
CrossPython
阅读(12)
推荐(0)
摘要:
in manifest.py, append 'base_setup' into depends
阅读全文
posted @ 2025-04-19 19:08
CrossPython
阅读(6)
推荐(0)
摘要:
https://python.langchain.com/docs/how_to/custom_chat_model/ https://www.langchain.com.cn/docs/how_to/custom_chat_model/
阅读全文
posted @ 2025-04-18 22:36
CrossPython
阅读(14)
推荐(0)
摘要:
https://www.youtube.com/watch?v=KxqlJblhzfI https://www.youtube.com/watch?v=p18O0hSmQyM https://www.youtube.com/watch?v=mq5oUXcAXL4
阅读全文
posted @ 2025-03-07 11:46
CrossPython
阅读(12)
推荐(0)