How would i go about gathering info开发者_如何学JAVArmation about a system in python? Seems most of the commands are made for Unix... Are there any options in windows?
Thanks,
Jake.
What about the platform module
Getting system information under Windows (Python), from ActiveState code recipes.
This page highlights the list of infos you can get from the OS and for each tells you the OS availability.
http://docs.python.org/library/os.html
Also check out this page
http://code.activestate.com/recipes/511491-getting-system-information-under-windows/
Try the os
module. link
精彩评论