I tried to get all information about a computer by python but there is no good library to find something like monitor or keyboard or details of graphic card.
Is it possible to get list of hardware or devices of computers?
I personally find the psutil library interesting for monitoring everything that is going on on your system:
https://github.com/giampaolo/psutil
Moreover, you might have a look at the platform lib, which you can use to gather information, guess what, platform, yes.
https://docs.python.org/2/library/platform.html
If you're on linux, it might be a solution to use some system command like lspci and friends to gather other information as well. See, for instance this: http://www.commandlinefu.com/commands/using/lspci
There's also a similar question on stack overflow: Python, In linux obtain VGA specifications via lspci or HAL?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With