=> \dt *.*
Here is what the above code is Doing:
1. We’re using the os module to get a list of all the files in the current directory.
2. We’re using the fnmatch module to filter out all the files that don’t end with .py.
3. We’re using the os.path module to get the size of each file that remains.
4. We’re printing out the results.