Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python find which os

# If you want user readable data but still detailed, 
# you can use platform.platform()

>>> import platform
>>> platform.platform()
'Linux-3.3.0-8.fc16.x86_64-x86_64-with-fedora-16-Verne'

# platform also has some other useful methods:
>>> platform.system()
'Windows'
>>> platform.release()
'XP'
>>> platform.version()
'5.1.2600'

# More check the source 
Comment

PREVIOUS NEXT
Code Example
Python :: python class get attribute by name 
Python :: fetch python 
Python :: discord.py owner only commands 
Python :: export sklearn.metrics.classification_report as csv 
Python :: flask marshmallow 
Python :: install log21 python 
Python :: captain marvel subtitles subscene 
Python :: cv2 add circle to image 
Python :: pygame.transform.scale 
Python :: print last n rows of dataframe 
Python :: gpu training tensorflow 
Python :: connect to mysql database jupyter 
Python :: colored text python 
Python :: how to clear command prompt python 
Python :: combine 2 dataframes based on equal values in columns 
Python :: rename files in folder python 
Python :: python no new line 
Python :: how to use colorama 
Python :: python list flatten 
Python :: python default input 
Python :: tkinter hover button 
Python :: pyqt tex 
Python :: registering static files in jango 
Python :: python install gimp 
Python :: tuple in godot 
Python :: python print return code of requests 
Python :: count unique values in pandas column 
Python :: how to reomve certain row from dataframe pandas 
Python :: matplotlib transparent line 
Python :: Python find max in list of dict by value 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =