def general(): for message in file_read: if message.startswith("#"): pass else: try: Main.check_Message_Contents(message) time.sleep(1) Main.Word_based_string(message) time.sleep(1) Main.Unusual_charecter_codes(message) time.sleep(1) except Exception as e: print(e) input(" ")
""" This is an attempt at testing the different functions and modules inside my project. This project uses the big list of naughty strings project found at https://github.com/minimaxir/big-list-of-naughty-strings """ import Main file = open("blns.txt", 'r') file_read = file.read() for message in file_read: if message.startswith("#"): pass else: try: Main.check_Message_Contents(message) Main.Word_based_string(message) Main.Unusual_charecter_codes(message) except Exception as e: print(e) input("")