开发者

Information about computer in python

开发者 https://www.devze.com 2023-01-06 23:34 出处:网络
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?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消