开发者

Information about computer in python

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜