From 4c54e1e62f89d967227d483b388b52e6002b3746 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Fri, 30 Dec 2022 15:58:23 +0400 Subject: [PATCH] Removed Python script used earlier with Bash --- html_conv.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 html_conv.py diff --git a/html_conv.py b/html_conv.py deleted file mode 100644 index a002c52..0000000 --- a/html_conv.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 - -import re -import sys - -SCRIPTS = r'(([\s\r\n]+)+)' -MINJS = '' - -LESSJS = '' -STYLES = '' -CSS = '' - - -def main(): - - stdin = sys.stdin.read() - - conv = re.sub(SCRIPTS, MINJS.format(sys.argv[1]), stdin) - conv = conv.replace(LESSJS, '') - conv = conv.replace(STYLES, CSS.format(sys.argv[2])) - - sys.stdout.write(conv) - - -if __name__ == '__main__': - main()