QuestionQ48

Modules and Packages

Which function in the platform module should be used to identify the underlying platform name?

  • A platform.processor()
  • B platform.uname()
  • C platform.python_version()
  • D platform.platform()
Explanation

platform.platform() returns a single string identifying the underlying platform, including as much useful platform information as possible.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!