easy way to return a list of absolute file or directory path within a directory
iMath
redstone-cold at 163.com
Wed Sep 7 03:08:02 EDT 2016
More information about the Python-list mailing list
Wed Sep 7 03:08:02 EDT 2016
- Previous message (by thread): Python 3 curiosity.
- Next message (by thread): easy way to return a list of absolute file or directory path within a directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Any easier solutions on returning a list of absolute file or directory path within a directory? Mine is list(map(lambda entry: os.path.join(directory,entry),os.listdir(directory)))
- Previous message (by thread): Python 3 curiosity.
- Next message (by thread): easy way to return a list of absolute file or directory path within a directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list