Answers for "sys python library"

2

python sys

import sys
print('Python version you are using')
print(sys.version)
print('Informantion')
print(sys.version_info)
Posted by: Guest on October-26-2020
0

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...
Posted by: Guest on May-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language