QuestionQ44

VerifiedModules and Packages

Which platform module function should be used to identify the Python version?

Explanation

platform.python_version() returns the Python version as a major.minor.patchlevel string. platform.processor() reports processor information, platform.uname() returns system identification fields, and platform.version() returns the operating system version.

Learn more

Community Discussion

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