摘要: 单行注释 # 多行注释 1.单引号 ''' ''' 2.双引号 """ """ 文档注释 注释应该放在函数的第一行 '''文档注释''' def a(): '''这是文档字符串''' a = 1 pass print(a.__doc__) 参考 Python3 单行注释,多行注释,文档注释的用法 h 阅读全文
posted @ 2023-02-15 09:56 希广闻 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 比较两个文件不同 $ diff file1 file2 比较两个目录不同 $ diff --brief --recursive dir1/ dir2/ --brief 仅显示有无差异,不显示详细的信息 --recursive 递归的,比较子目录中的文件 $ diff -qr dir1/ dir2/ 阅读全文
posted @ 2023-02-15 09:47 希广闻 阅读(34) 评论(0) 推荐(0) 编辑
摘要: dumpbin 查看 dll 接口函数 > dumpbin /exports "/path/to/dll" dumpbin 查看 exe、dll 依赖的动态库 > dumpbin /dependents "/path/to/[exe|dll]" dumpbin 查看 .net 和 非.net dll 阅读全文
posted @ 2023-02-15 09:07 希广闻 阅读(50) 评论(0) 推荐(0) 编辑
摘要: error C3861: “CoInitialize”: 找不到标识符error C3861: “CoUninitialize”: 找不到标识符 包含头文件和链接库#include <objbase.h>#program comment(lib,"ole32.lib") 阅读全文
posted @ 2023-02-15 08:54 希广闻 阅读(92) 评论(0) 推荐(0) 编辑