Quick actions

cmd+k|ctrl+k

Navigation

Languages

Operating System Control 

Snippet info

Language

Python

Visibility

public

Author

abdlkdrgndz

Created

2021-03-29T09:49:05.048986Z

Updated

2021-03-29T09:49:05.048986Z

import os

if os.uname().sysname == 'Linux':
    print("Valid Operating System : {}".format(os.uname().version) )
else:
    print("Not supported operating system.")
INFO