From 672537aa3f34baf9009a09150903bb28beb5562e Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Fri, 24 Sep 2021 21:55:38 +0200 Subject: [PATCH] Remove table generator --- table_generator.py | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 table_generator.py diff --git a/table_generator.py b/table_generator.py deleted file mode 100644 index c8b9b31ddef..00000000000 --- a/table_generator.py +++ /dev/null @@ -1,37 +0,0 @@ -features = [ - "Add one feature here", - "Add another feature here", - "And so on", -] - -optional_and_languages = [ - "Optional", - "Go", - "Java", - "JS", - "Python", - "Ruby", - "Erlang", - "PHP", - "Rust", - "C++", - ".NET", - "Swift", -] - -max_feature_length = max(map(len, features)) - -print( - f"| Feature {' ' * (max_feature_length - 8)} | " - f"{' | '.join(word for word in optional_and_languages)} |" -) -print( - f"|{'-' * (max_feature_length + 2)}|-" - f"{'-|-'.join('-' * len(word) for word in optional_and_languages)}-|" -) - -for feature in features: - print( - f"| {feature}{' ' * (max_feature_length - len(feature))} | " - f"{' | '.join(' ' * len(word) for word in optional_and_languages)} |" - )