# def Rmdr(index, foldername):
#     openB = 0
#     closedB = 0
#     tempLoc = changeDirectory(myLoc,foldername)
#     if fileSystem[findLocation(tempLoc) + len(foldername) + 1: findLocation(tempLoc) + len(foldername) + 3] == "[]":
#         return fileSystem[0: findLocation(tempLoc) - 7] + fileSystem[findLocation(tempLoc) + len(foldername) + 4: len(fileSystem)]
#     else:
#         print "cannot delete. Something is in that folder"
        
        
#       #Below is the Elif statement to call it:
      
#       elif (inputs[0] == "rmdir"):
#         print(Rmdr(myLoc,""+inputs[1]))
        
