09 2022 档案

摘要:use arrow_odbc::{odbc_api::Environment, OdbcReader}; const CONNECTION_STRING: &str = "Driver={PostgreSQL ANSI(x64)}; Server=127.0.0.1;Port=5433; UID=p 阅读全文
posted @ 2022-09-30 16:33 CrossPython 阅读(28) 评论(0) 推荐(0) 编辑
摘要:下载地址: https://www.postgresql.org/ftp/odbc/versions/msi/ 连接字符串,一般的结构是: Driver={PostgreSQL ODBC Driver(UNICODE)};server=127.0.0.1;port=5432;database=数据库 阅读全文
posted @ 2022-09-30 16:21 CrossPython 阅读(2169) 评论(0) 推荐(0) 编辑
摘要:extern crate r2d2; use std::{thread, io::Read}; use r2d2_postgres::{postgres::{NoTls, GenericClient, SimpleQueryRow, SimpleQueryMessage}, PostgresConn 阅读全文
posted @ 2022-09-30 16:04 CrossPython 阅读(58) 评论(0) 推荐(0) 编辑
摘要:#[tokio::main] async fn main()->Result<()> { let m = read_excel("abc.xlsx", 1, "Sheet1").unwrap(); let ctx = SessionContext::new(); ctx.register_table 阅读全文
posted @ 2022-09-30 10:41 CrossPython 阅读(15) 评论(0) 推荐(0) 编辑
摘要:// // // // 字符串 // let mut sbuilder = StringBuilder::new(100); // sbuilder.append_value("a").unwrap(); // sbuilder.append_null().unwrap(); // sbuilder 阅读全文
posted @ 2022-09-29 19:29 CrossPython 阅读(12) 评论(0) 推荐(0) 编辑
摘要:// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this 阅读全文
posted @ 2022-09-28 17:22 CrossPython 阅读(15) 评论(0) 推荐(0) 编辑
摘要:use std::str; fn main() { // 起始:Vec let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; // 从 Vec 转换为String let string1: String = src1.ite 阅读全文
posted @ 2022-09-27 14:10 CrossPython 阅读(425) 评论(0) 推荐(0) 编辑
摘要:extern crate tokio; pub mod datatable; pub mod handle_error; pub mod common; use chrono::prelude::*; use chrono::offset::LocalResult; use datafusion:: 阅读全文
posted @ 2022-09-26 16:11 CrossPython 阅读(24) 评论(0) 推荐(0) 编辑
摘要:document.getElementsByTagName("video")[0].playbackRate = 1.75 数字1.75代表1.75倍速 playbackRate 阅读全文
posted @ 2022-09-26 10:08 CrossPython 阅读(264) 评论(0) 推荐(0) 编辑
摘要:首先单击“开始运行”,在输入框中键入“regedit”打开注册表编辑器,然后在注册表编辑器左方控制台中依次单击展开 “HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/Current Version/Winlogon”,再选择“编辑添加字符串值”,在数 阅读全文
posted @ 2022-09-23 15:24 CrossPython 阅读(326) 评论(0) 推荐(0) 编辑
摘要:源代码里要改这个位置, 增加async _channel.setMethodCallHandler((MethodCall call) { _channel.setMethodCallHandler((MethodCall call) async { 阅读全文
posted @ 2022-09-20 19:51 CrossPython 阅读(33) 评论(0) 推荐(0) 编辑
摘要:use std::sync::Arc; use datafusion::arrow::datatypes::{ DataType, Field, Schema}; use datafusion::arrow::record_batch::RecordBatch; use datafusion::ar 阅读全文
posted @ 2022-09-15 20:27 CrossPython 阅读(33) 评论(0) 推荐(0) 编辑
摘要:extern crate arrow; extern crate tokio; use std::convert::TryFrom; use std::sync::Arc; // use arrow::array::{Float64Array, Int64Array, Date32Array, Da 阅读全文
posted @ 2022-09-15 20:27 CrossPython 阅读(17) 评论(0) 推荐(0) 编辑
摘要:pandas索引尽量避免写成dfd.loc[0]['a'],会导致赋值失败-- 尽量写成dfd.loc[0, 'a']格式 遇到需要loc与iloc结合的混合索引办法 阅读全文
posted @ 2022-09-13 15:58 CrossPython 阅读(178) 评论(0) 推荐(0) 编辑
摘要:import pywifi import time from pywifi import const # WiFi扫描模块 def wifi_scan(): # 初始化wifi wifi = pywifi.PyWiFi() # 使用第一个无线网卡 interface = wifi.interface 阅读全文
posted @ 2022-09-10 22:05 CrossPython 阅读(64) 评论(0) 推荐(0) 编辑
摘要:布署 这是我的目录结构: . ├── Cargo.lock ├── Cargo.toml ├── code.md ├── diesel.toml ├── .env ├── migrations ├── README.md ├── src ├── static └── target 使用cargo r 阅读全文
posted @ 2022-09-09 20:22 CrossPython 阅读(167) 评论(0) 推荐(0) 编辑
摘要:https://www.easysap.com/index.php?q-6884.html 阅读全文
posted @ 2022-09-03 07:59 CrossPython 阅读(9) 评论(0) 推荐(0) 编辑

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