1

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.

3
  • What exactly do you want information on? Processor type, memory? Hostname? What do you mean "options" for windows? Commented Jul 8, 2010 at 23:38
  • Stuff like that. Mainly hostname, processor type, cwd and so on... Commented Jul 9, 2010 at 0:12
  • Be more specific, otherwise the question cannot be answered. List exactly those pieces of information that you want. Commented Jul 9, 2010 at 7:34

4 Answers 4

1

What about the platform module

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

0

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/

Comments

0

Try the os module. link

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.