- Joined
- Mar 28, 2023
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Who knows how many of your bangerz we've lost to this chatLmfao
the fuck... Not even the first time I've told that story in guntchat but when I post about it in a thread suddenly it's a big deal?@The Wokest for some ungodly reason decided to share some of his personal sexual(?) experience with the forum and Guntchat
Does anyone have that Ralph Soyjak, where some people said he had shit in his beard from his arse eating antics?
WHUT DA!?
A strange screenshot where I’m not present?? Wtf is this legal?
#!/usr/bin/python3.11
__all__ = []
from sys import argv
import json
def main():
if "-w" in argv:
write_ralphabet()
return
create_and_print()
def create_and_print():
if len(argv) > 1:
words = " ".join(argv[1:])
else:
words = "KIWIFARMS RULES"
print(words)
with open("gunt.json", "r") as f:
ralpha = json.load(f)
print(create_text(words, ralpha))
def create_text(text: str, ralpha: dict) -> str:
text = text.upper()
text = text.split()
result = []
for word in text:
temp = [None for _ in word]
for index, char in enumerate(word):
temp[index] = ralpha[char]
# print(temp)
temp2 = [None for _ in range(5)]
for index in range(len(temp2)):
s = ""
for i, w in enumerate(word):
s += temp[i][index]
temp2[index] = s
result.extend(temp2)
result.append("")
return "\n".join(result)
def write_ralphabet():
result = {}
with open("raw.txt", "r") as f:
data = f.read()
data = data.split("\n")
while "" in data:
data.remove("")
# split list into lists of length 6
data = [data[i:i + 6] for i in range(0, len(data), 6)]
for c, *d in data:
# d = "\n".join(d)
result[c] = d
with open("gunt.json", "w") as f:
json.dump(result, f)
if __name__ == "__main__":
main()
else:
pass