【发布时间】:2020-06-30 20:24:25
【问题描述】:
我正在尝试从 python 中的文件中获取文件属性(如“名称、修改日期”、“类型”、“大小”等...)。该属性称为“SW Last saved with”(单击示例)。此属性告诉您保存模型的 Solidworks 版本。
经过一些研究,这个“SW last saved with”属性似乎是通过注册一个 .DLL 文件 (sldwinshellextu.dll) 添加到 Windows 资源管理器中的。
有没有办法使用一些 python 函数来获取这个特定的文件属性,例如 (file.getProperty("SW last saved with"))?
【问题讨论】:
标签: python file dll properties solidworks