In this video we look into how to list the files and the directory of current path or a specific path using the os library and the glob library. The os library's list dir allows for easy and simple listing of directory of current and specific path, while the glob method adds more functionality to listing file and directories through pattern matching and outputting absolute path to files.
Python | List Files in a Directory
Теги
pythonpython 3python tutorialpython listing file directorieslisting files in a directorylisting files in current directoryunixstyle pattern matchingpython os libraryos listdiroperting system list directoryglobwildcard pattern matchingpython list files in directorypython list filespython list files and subdirectoriespython list file namespython list files in directory with extension