#To define a particular parameter, replace the 'parameterName' inside itsm.getParameter('parameterName') with that parameter's name import os folder_name=itsm.getParameter('folder')#"kazama" path=itsm.getParameter('path')#"c:\\" acess_rights=0o777 if os.path.exists(path)==True: full_path=path+"\\"+folder_name print full_path if os.path.exists(full_path)==False: os.mkdir(full_path,acess_rights) print "Directory Created" else: print "Path exists!!!" else: print "The given location doesn't not exist"