Open main menu

CDOT Wiki β

Changes

OPS445 Online Assignment 2

70 bytes added, 18:55, 22 March 2022
m
Minimum Viable Product
* In your <code>if __name__ == '__main__'</code> block, you will have to call the parse_command_args function. Experiment with print statements so that you understand how each option and argument are stored.
** 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.
* Pass the return value from that function to <code>create_dir_dict</code>
572
edits