上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 44 下一页
摘要: C++ 中环境变量获取,动态库环境变量的传递 在实践中,考虑最好还是使用getenv()函数来取得相关的环境变量. C/C++ 获取系统环境变量,其实是很简单的. 函数名: getenv 功 能: 从环境中取字符串,获取环境变量的值 头文件: stdlib.h 用 法: char *getenv(c 阅读全文
posted @ 2024-11-12 11:24 michaelchengjl 阅读(721) 评论(0) 推荐(0)
摘要: linux 计算程序运行时间, 及时间差 统计Shell脚本执行时间,帮助分析改进脚本执行 linux shell 计算时间差值 #!/bin/bash # 计算时间差 date1=$(date +"%Y-%m-%d %H:%M:%S") echo "时间1: $date1" echo "延时10s 阅读全文
posted @ 2024-11-11 16:57 michaelchengjl 阅读(415) 评论(0) 推荐(0)
摘要: python 获取设置环境变量 import os print(os.environ["path"]) os.environ # 当key不存在时,将会报错KeyError,返回的结果是None print(os.environ.get('KEY_THAT_MIGHT_EXIST')) # os.g 阅读全文
posted @ 2024-11-09 16:57 michaelchengjl 阅读(284) 评论(0) 推荐(0)
摘要: python_for_data_analysis_2nd_chinese_version https://github.com/iamseancheney/python_for_data_analysis_2nd_chinese_version?tab=readme-ov-file 阅读全文
posted @ 2024-11-06 17:25 michaelchengjl 阅读(54) 评论(0) 推荐(0)
摘要: bazel build protobuf WORKSPACE load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "com_google_protobuf", sha256 阅读全文
posted @ 2024-11-05 15:09 michaelchengjl 阅读(118) 评论(0) 推荐(0)
摘要: 在线视频格式转换 https://video.online-convert.com/convert/webm-to-mp4 https://www.aconvert.com/video/ https://video-converter.com/cn/ 阅读全文
posted @ 2024-10-31 22:36 michaelchengjl 阅读(369) 评论(0) 推荐(0)
摘要: python 获取目录, 路径 import os print(" 获取当前文件目录 ") # 当前脚本工作的目录路径 print(os.getcwd()) # os.path.abspath()获得绝对路径 print(os.path.abspath(os.path.dirname(__file_ 阅读全文
posted @ 2024-10-31 18:42 michaelchengjl 阅读(74) 评论(0) 推荐(0)
摘要: make编译报错:fatal error: filesystem: 没有那个文件或目录 #include https://www.cnblogs.com/zhengyan6/p/18119833 https://blog.csdn.net/weixin_45867382/article/detail 阅读全文
posted @ 2024-10-29 15:50 michaelchengjl 阅读(223) 评论(0) 推荐(0)
摘要: 数值计算中的相对误差,绝对误差 相对误差: Relative tolerance (RTOL) controls local error relative to the size of the solution— RTOL = 10-4 means that errors are controlle 阅读全文
posted @ 2024-10-25 15:14 michaelchengjl 阅读(505) 评论(0) 推荐(0)
摘要: Cannot find onnx/onnx.pb.h 解决方法 问题: https://github.com/onnx/onnx/issues/1947 https://github.com/onnx/onnx/issues/3074 https://github.com/onnx/onnx/iss 阅读全文
posted @ 2024-10-24 11:13 michaelchengjl 阅读(221) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 44 下一页