Searched refs:folderpath (Results 1 – 1 of 1) sorted by relevance
20 def create_dir(folderpath): argument21 if not os.path.exists(folderpath):22 if ( os.mkdir( folderpath , stat.S_IRWXG | stat.S_IRWXU ) != 0 ) \23 and ( os.access( folderpath, os.F_OK ) == False ):24 raise Exception("Cannot create folder %s"% folderpath);