The platform  module provides an API  to get information about the underlying system/platform where our code runs. Information such as OS name, Python Version, Architecture, Hardware information , etc. is exposed via platform module  functions. This module does not require installation since it is part of the default libraries that comes with python installation .

#python #python tips

How to Use Platform and Keyword Module in Python
2.15 GEEK