import platform # Get the underlying platform nameplatform_name = platform.system() print(platform_name)
Standard input is empty
Linux
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!