Size of current directory This script displays the size of the current directory in bytes, kilobytes, gigabytes, and megabytes. How to use this script? Just type the following in your command prompt: python script.py Sample of the script in action: