From 12076cfde9e8db10b8c3443e5e1b876b7156d337 Mon Sep 17 00:00:00 2001 From: YuruC3 Date: Wed, 11 Mar 2026 00:33:00 +0000 Subject: [PATCH] Add ASCII_Gen_PRE.py --- ASCII_Gen_PRE.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ASCII_Gen_PRE.py diff --git a/ASCII_Gen_PRE.py b/ASCII_Gen_PRE.py new file mode 100644 index 0000000..6902b9d --- /dev/null +++ b/ASCII_Gen_PRE.py @@ -0,0 +1,17 @@ +# Create a files called VyOSart.txt +# https://www.asciiart.eu/image-to-ascii + +leList = open("VyOSart.txt", "r").read().split("\n") + +# Add a \\n at the start of the string +outstr = '"\\\\n' + +# Create string +for thing in range(0,len(leList)): + outstr += leList[thing] + "\\\\n" + +# Add a finishing quotation mark +outstr += '"' + +# Return the command to paste +print(f"set system login banner pre-login {outstr}") \ No newline at end of file