How can you extract Hardware ID using Python?

后端 未结 4 665
醉梦人生
醉梦人生 2020-12-18 04:28

How do you extract an HD and Bios Unique ID, using python script?

4条回答
  •  不思量自难忘°
    2020-12-18 05:05

    Solutions that come to my mind:

    1. use Win32 Python Extensions and call Windows APIs to do that directly
    2. Use a WMI-wrapper for Python

    (some WMI interface code for reference)

    Edit: I assumed your OS was MS Windows :)

提交回复
热议问题