Open main menu

CDOT Wiki β

Changes

OPS445/A2-S23-NAANBB

38 bytes added, 12:12, 9 July 2023
Minimum Viable Product
** If the user has entered more than one argument, or their argument isn't a valid directory, print an error message.
** If the user doesn't specify any target, use the current directory.
* Call <code>call_du_sub</code> with the target directory. This will return a list.* Pass Call the return value from that function to <code>create_dir_dict</code>with that list to create a dictionary.
* You may wish to create one or more functions to do the following:
** Use the total size of the target directory to calculate percentage.