From 6100ccad129fd3382977d690de0cf6c923d322c3 Mon Sep 17 00:00:00 2001 From: iron Date: Thu, 24 Sep 2020 01:15:00 +0100 Subject: [PATCH] initial commit --- main.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..d85b266 --- /dev/null +++ b/main.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 +import os +import sys + +def get_file_list(path): + '''present a list of files''' + os.li + return None + +def maximum_common_string(string, listofstrings, minimum_length): + '''compare items of a list, grouping by common strings, keeping groups as small as possible''' + return None + +def move_files_into_directory(files, directory): + return None + +def main(): + filepaths = os.listdir(sys.argv[1]) + print(filepaths) + return None + +if __name__ == "__main__": + main()