Python List Files in a Directory

Channel Avatar
Comment
X
Share
Python List Files in a Directory
Python List Files in a Directory
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.

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: python, python 3, python tutorial, python listing file directories, listing files in a directory, listing files in current directory, unixstyle pattern matching, python os library, os listdir, operting system list directory, glob, wildcard pattern matching, python list files in directory, python list files, python list files and subdirectories, python list file names, python list files in directory with extension

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *