Search
 
SCRIPT & CODE EXAMPLE
 

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.
Comment

PREVIOUS NEXT
Code Example
Python :: min max and avg function of python 
Python :: cv2 image object to base64 string 
Python :: How to check how much time elapsed Python 
Python :: pandas shift one column 
Python :: Python sort dataframe by list 
Python :: python time execution 
Python :: how to convert column to index in pandas 
Python :: python datetime strptime hour minute second 
Python :: how to minimize command console python 
Python :: python turtle sierpinski triangle 
Python :: find index of null values pandas 
Python :: save image python 
Python :: how to make text bold in tkinter 
Python :: how to access for loop counter of outer loop 
Python :: built in functions python 
Python :: check package version python 
Python :: summation django queryset 
Python :: json not readable python 
Python :: python flat list from list of list 
Python :: skimage image read 
Python :: python date get day 
Python :: input stdin python 
Python :: square (n) sum 
Python :: python plot cut off when saving 
Python :: how to display qr code in python 
Python :: python make directory if not exists 
Python :: np.random.seed 
Python :: module turtle has no forward member 
Python :: find geomean of a df 
Python :: how to close python with a line of code 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =