import osimport os.pathsPath = raw_input("Enter the path: ")if sPath[len(sPath)-1] != '\\' : sPath += '\\'eList = os.listdir(sPath)for e in eList : if os.path.isdir(sPath + e) : print "Directory: " + e