import os
'''
path1="/home/ec2-user/"
path2="/sury/test.py"

#print(os.path.basename(path))
#print(os.path.dirname(path))

#print(path1+'/'+path2)

print(os.path.join(path1,path2))
'''
path="/home/ec2-user/sury/test.py"
#print(os.path.split(path))
#print(os.path.getsize(path))
print(os.path.exists(path))
print(os.path.isfile(path))
print(os.path.isdir(path))
