#Import os Library
import os
#get the current process id
pid = os.getpid()
#print the session id of current process
print (os.getsid(pid))