module sys python code example
Example 1: python sys
import sys
print('Python version you are using')
print(sys.version)
print('Informantion')
print(sys.version_info)
Example 2: sys python
if sys.platform.startswith('freebsd'):
# FreeBSD-specific code here...
elif sys.platform.startswith('linux'):
# Linux-specific code here...
elif sys.platform.startswith('aix'):
# AIX-specific code here...