parameters: (self, name)
docstring: Create a new folder (or raise os.error if it cannot be created).
docstring_summary: Create a new folder (or raise os.error if it cannot be created).
docstring_tokens: Create a new folder ( or raise os . error if it cannot be created ) .
function: def makefolder(self, name):
          """Create a new folder (or raise os.error if it cannot be created)."""
          protect = pickline(self.profile, 'Folder-Protect')
          if protect and isnumeric(protect):
              mode = int(protect, 8)
          else:
              mode = FOLDER_PROTECT
          os.mkdir(os.path.join(self.getpath(), name), mode)
function_tokens: def makefolder ( self , name ) : protect = pickline ( self . profile , 'Folder-Protect' ) if protect and isnumeric ( protect ) : mode = int ( protect , 8 ) else : mode = FOLDER_PROTECT os . mkdir ( os . path . join ( self . getpath ( ) , name ) , mode )