def ls(hdfs_path, user=None, recursive=False):
dir_list = lsl(hdfs_path, user, recursive)<EOL>return [d["<STR_LIT:name>"] for d in dir_list]<EOL>
Return a list of hdfs paths.

Works in the same way as :func:`lsl`, except for the fact that list
items are hdfs paths instead of dictionaries of properties.