随笔分类 -  Python开发

摘要:代码 import clr # 安装时使用pip install pythonnet clr.AddReference(r'E:\PythonCode\RWInfluxDBTest\OpenHardwareMonitor\OpenHardwareMonitorLib') # e.g. clr.Add 阅读全文
posted @ 2025-01-07 16:34 星空28 阅读(7) 评论(0) 推荐(0) 编辑
摘要:1、生成项目目录树 在当前文件所在文件夹下运行。 2、代码 dir_tree.py # -*- coding: utf-8 -*- import sys from pathlib import Path class DirectionTree(object): """生成目录树 @ pathname 阅读全文
posted @ 2024-12-30 16:06 星空28 阅读(20) 评论(0) 推荐(0) 编辑
摘要:网页格式发送 for_email.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> h1 { color: brown; } p { margin: 5px 阅读全文
posted @ 2024-07-30 13:54 星空28 阅读(6) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/a__int__/article/details/104183077 阅读全文
posted @ 2024-07-28 15:26 星空28 阅读(6) 评论(0) 推荐(0) 编辑

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