Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python sys

import sys
print('Python version you are using')
print(sys.version)
print('Informantion')
print(sys.version_info)

Comment

sys module in python

import sys
my_os=sys.platform
print("OS in my system : ",my_os)

# Output
# OS in my system :  linux
Comment

PREVIOUS NEXT
Code Example
Python :: continue and break in python 
Python :: python combinations 
Python :: flask socketio usage 
Python :: replace nan 
Python :: not equal to python 
Python :: python tobytes 
Python :: Adding new column to existing DataFrame in Pandas using concat method 
Python :: if key in dictionary python 
Python :: python fill string with spaces to length 
Python :: kdeplot python 
Python :: list to dataframe pyspark 
Python :: how to print in python 
Python :: pandas split column into multiple columns 
Python :: stack in python 
Python :: recursive factorial python 
Python :: how to change the name of a variable in a loop python 
Python :: check if 2 strings are equal python 
Python :: python tree 
Python :: reply_photo bot telegram python 
Python :: python s3 
Python :: how to use sort in python 
Python :: Python format() Method for Formatting Strings 
Python :: django email 
Python :: torch.from_numpy 
Python :: pandas split list in column to rows 
Python :: chatterbot python 
Python :: python3 format leading 0 
Python :: python regex match until first occurrence 
Python :: django jsonresponse 
Python :: How Generate random number in python 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =