#NEWLINE# def getdirs( ) : #NEWLINE# #INDENT# '\n    Get current directories of cwd in order to restore to this\n    ' #NEWLINE# dirs = [ dirs for i in os . listdir ( dname ) ] #NEWLINE# dirs = filter ( ( lambda x : ( not os . path . isfile ( os . path . join ( dname , x ) ) ) ) , dirs ) #NEWLINE# return dirs