views:

60

answers:

4

Hi, How would i go about gathering information about a system in python? Seems most of the commands are made for Unix... Are there any options in windows?

Thanks,

Jake.

A: 

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/

keyle
A: 

Try the os module. link

KLee1
I know.. But most of the options are *nix..
Jake
A: 

Getting system information under Windows (Python), from ActiveState code recipes.

sanxiyn
A: 

What about the platform module

razpeitia
Thanks for this link :)
Jake