Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print os platform

import platform
print(platform.system(), platform.release())


import os
print(os.name)


import sys
print(sys.platform)

# These are the 3 ways to print the platform.
 
PREVIOUS NEXT
Tagged: #python #print #os #platform
ADD COMMENT
Topic
Name
4+2 =