QuestionQ44Verified/Modules and PackagesCopy linkReport a problemAsk AstroTutorSave questionWhich platform module function should be used to identify the Python version?Aplatform.python_version()Bplatform.processor()Cplatform.uname()Dplatform.version()Show AnswerAnswerExplanationplatform.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 morePython platform module documentationShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion