上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 96 下一页
摘要: public void loadHtmlFile(String htmlFilePath) { try { Document doc = Jsoup.parse(new File(htmlFilePath), "utf-8"); Elements divs = doc.select("div.hop 阅读全文
posted @ 2023-10-14 15:16 西北逍遥 阅读(329) 评论(0) 推荐(0)
摘要: import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.></table></body></html>"; Document doc = Jso 阅读全文
posted @ 2023-10-13 16:28 西北逍遥 阅读(57) 评论(0) 推荐(0)
摘要: Qto_ProjectionElementBaseQuantities 投影图元基本数量:投影图元的所有引用的定义通用的基本数量。 NameTypeDescription Area Q_AREA Fläche 悬臂、壁架或其他杆的区域,是壁架等的观察表面,或天花板结构等的基础区域。 Area 立面视 阅读全文
posted @ 2023-10-12 06:40 西北逍遥 阅读(15) 评论(0) 推荐(0)
摘要: Qto_SiteBaseQuantities 场地基准工程量:场地所有引用的定义中通用的基准工程量。 NameTypeDescription GrossPerimeter Q_LENGTH Umfang Umfang der Grundstücksgrenze, gemessen in horizo 阅读全文
posted @ 2023-10-11 12:41 西北逍遥 阅读(20) 评论(0) 推荐(0)
摘要: Qto_SpaceBaseQuantities 空间基准量:定义所有引用的空间时通用的基准量。 NameTypeDescription Height Q_LENGTH Höhe Gesamte Höhe des Raums, von Rohboden zur Rohdecke, wird nur a 阅读全文
posted @ 2023-10-10 09:09 西北逍遥 阅读(33) 评论(0) 推荐(0)
摘要: IfcSystem 实体定义 系统是AEC产品中相关部件的有组织的组合,用于共同目的或功能或提供服务。系统本质上是与功能相关的产品集合。IfcProduct的一个或多个实例(系统成员)的分组关系由IfcRelAssignsToGroup处理。 注:IfcSystem的使用通常适用于建筑服务相关系统的 阅读全文
posted @ 2023-10-09 14:53 西北逍遥 阅读(42) 评论(0) 推荐(0)
摘要: 使用 reverse() 函数 my_list = [1, 2, 3, 4, 5] my_list.reverse() print(my_list) # 输出: [5, 4, 3, 2, 1] ################################### 阅读全文
posted @ 2023-10-08 07:02 西北逍遥 阅读(35) 评论(0) 推荐(0)
摘要: IfcMetricValueSelect 类型定义 IfcMetricValueSelect是一种选择类型,用于为IfcMetric的值组件选择数据类型。 类型使用如下: IfcValue:使用项目默认单位的常数值。 IfcMeasureWithUnit:使用指定单位的常数值。 IfcApplied 阅读全文
posted @ 2023-10-07 17:11 西北逍遥 阅读(19) 评论(0) 推荐(0)
摘要: Qto_ReinforcingElementBaseQuantities 箍筋数量 NameTypeDescription Count Q_COUNT Length Q_LENGTH Weight Q_WEIGHT ############################ 阅读全文
posted @ 2023-10-06 15:52 西北逍遥 阅读(13) 评论(0) 推荐(0)
摘要: IfcLogicalOperatorEnum 类型定义 IfcLogicalOperatorEnum是一个枚举,它定义了可以应用于一次满足一个或多个操作数(IfcConstraint)的逻辑运算符。 下表说明了IfcLogicalOperatorEnum在每个运算符有三个操作数a、B和C的情况下的应 阅读全文
posted @ 2023-10-05 18:54 西北逍遥 阅读(14) 评论(0) 推荐(0)
摘要: wx.getImageInfo({ src: '图片路径', success: function (res) { // 获取图片信息 console.log(res.width, res.height); // 压缩图片 wx.compressImage({ src: res.path, quali 阅读全文
posted @ 2023-10-04 21:22 西北逍遥 阅读(85) 评论(0) 推荐(0)
摘要: 在Python中,可以使用os模块来遍历一个目录下的所有子目录和文件 import os def traverse_directory(path): for root, dirs, files in os.walk(path): level = root.replace(path, '').coun 阅读全文
posted @ 2023-10-03 07:27 西北逍遥 阅读(97) 评论(0) 推荐(0)
摘要: 在Python中拷贝文件可以使用shutil模块 import shutil # 源文件路径 src_file = '/path/to/source/file.txt' # 目标文件路径 dst_file = '/path/to/destination/file.txt' # 使用shutil模块的 阅读全文
posted @ 2023-10-01 12:33 西北逍遥 阅读(54) 评论(0) 推荐(0)
摘要: 拷贝整个目录及其子目录和文件,可以使用shutil.copytree()函数。 import shutil # 源目录路径 src_dir = '/path/to/source/directory' # 目标目录路径 dst_dir = '/path/to/destination/directory 阅读全文
posted @ 2023-09-30 17:51 西北逍遥 阅读(397) 评论(0) 推荐(0)
摘要: from datetime import datetime # 获取当前时间 now = datetime.now() # 获取年、月、日、时、分、秒和毫秒 year = now.year month = now.month day = now.day hour = now.hour minute 阅读全文
posted @ 2023-09-29 20:17 西北逍遥 阅读(1096) 评论(0) 推荐(0)
摘要: 在Python中,可以使用os模块的rename()函数来重命名文件。以下是一个基本的示例: import os # 原文件的路径 old_file_path = '/path/to/your/old_file_name.txt' # 新文件的路径 new_file_path = '/path/to 阅读全文
posted @ 2023-09-28 21:13 西北逍遥 阅读(88) 评论(0) 推荐(0)
摘要: 在C++中启动一个.bat文件,你可以使用标准库中的system函数。这个函数可以让你在C++程序中执行外部命令。 #include <cstdlib> int main() { // 在这里替换成你的.bat文件的路径 const char* batchFilePath = "C:\\Path\\ 阅读全文
posted @ 2023-09-27 11:11 西北逍遥 阅读(751) 评论(0) 推荐(0)
摘要: pip install pandas openpyxl 读取Excel文件 import pandas as pd # 读取Excel文件 df = pd.read_excel('your_file.xlsx') # 查看数据 print(df) 写入Excel文件 import pandas as 阅读全文
posted @ 2023-09-26 08:55 西北逍遥 阅读(43) 评论(0) 推荐(0)
摘要: from PyQt5.QtCore import QThread, pyqtSignal import time class MyThread(QThread): finished = pyqtSignal() def run(self): print('Thread started.') time 阅读全文
posted @ 2023-09-25 16:52 西北逍遥 阅读(25) 评论(0) 推荐(0)
摘要: IfcConstraintEnum 类型定义 IfcConstraintNum是用于限定约束的枚举。 IFC2.0中的新枚举 Enumeration definition ConstantDescription HARD Qualifies a constraint such that it mus 阅读全文
posted @ 2023-09-24 06:17 西北逍遥 阅读(19) 评论(0) 推荐(0)
摘要: IfcConstraint 实体定义 IfcConstraint用于定义可应用于对象或特性值的约束或限制值或边界条件。 约束可以细分为用户定义的约束和系统定义的约束。用户定义的约束由用户应用,并且仅限于对象特性等高级定义。系统定义的约束可以应用于任何对象属性,通常由应用程序定义以强制执行数据验证或参 阅读全文
posted @ 2023-09-22 16:24 西北逍遥 阅读(32) 评论(0) 推荐(0)
摘要: unity3d 清空控制台 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using AssemblyCSharp; using System; 阅读全文
posted @ 2023-09-21 15:41 西北逍遥 阅读(122) 评论(0) 推荐(0)
摘要: java 串口通讯 package com.vfsd.test; import java.io.IOException; import java.math.BigInteger; import gnu.io.CommPortIdentifier; import gnu.io.SerialPort; 阅读全文
posted @ 2023-09-20 16:08 西北逍遥 阅读(180) 评论(0) 推荐(0)
摘要: python request请求数据 # -*- coding:utf-8 -*- import requests import json #查询塔吊X数据 def searchTowerXValue(): towerXValue = 0.0 try: # 从服务器请求数据 response = r 阅读全文
posted @ 2023-09-19 08:49 西北逍遥 阅读(40) 评论(0) 推荐(0)
摘要: java获取前一天日期 import java.util.Calendar; public class Main { public static void main(String[] args) { // 获取今天的日期 Calendar today = Calendar.getInstance() 阅读全文
posted @ 2023-09-18 11:57 西北逍遥 阅读(2516) 评论(0) 推荐(0)
摘要: Spring POST 是一种 HTTP 请求方法,用于向服务器发送数据。与 GET 方法不同,POST 方法将数据包含在请求的主体中,而不是 URL 中。 在 Spring 中,可以使用 @PostMapping 注解来创建一个处理 POST 请求的方法。例如: @RestController p 阅读全文
posted @ 2023-09-17 16:08 西北逍遥 阅读(153) 评论(0) 推荐(0)
摘要: 在PyQt中,可以使用matplotlib库来绘制折线图。 import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QVBoxLayout, QWidget from matplotlib.figure import Fig 阅读全文
posted @ 2023-09-16 17:59 西北逍遥 阅读(496) 评论(0) 推荐(0)
摘要: import numpy as np from scipy.signal import argrelextrema def emd(data): """ 经验模式分解(Empirical Mode Decomposition,EMD) """ # 找到极值点 max_points, min_poin 阅读全文
posted @ 2023-09-15 12:00 西北逍遥 阅读(636) 评论(0) 推荐(0)
摘要: 在小程序中,可以使用Date对象来获取当前的年、月和日 const now = new Date(); const year = now.getFullYear(); // 获取当前年份 const month = now.getMonth() + 1; // 获取当前月份,注意月份是从0开始的,因 阅读全文
posted @ 2023-09-14 07:58 西北逍遥 阅读(1400) 评论(0) 推荐(0)
摘要: test2 = [range(1, 101)] print(test2) my_list = list(range(1, 101)) print(my_list) my_list2 = list(range(100, 0,-1)) print(my_list2) my_list3 = [0] * 1 阅读全文
posted @ 2023-09-13 15:36 西北逍遥 阅读(232) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 96 下一页