Repositories (1)

messblock.py
2 snippets stored for this repo
with open("C:/Users/Vivek Agrawal/OneDrive/Documents/file1.txt",'r+') as file :
            if __name__=="__main__":
                custom_badwords=['rascal','Apathetic','bastard','asshole','bitch','brother fucker','bullshit','bollocks','wanker','dickhead','nigra','damn it','hell','bloody hell','shit as','farted']
                profanity.add_censor_words(custom_badwords)
                profanity.censor(custom_badwords)
                s=profanity.censor(text)
if _name=="__main_":
                list1=input("enter any  negative sentence");		

                custom_badwords=['rascal','Apathetic','bastard','asshole','bitch','brother fucker','bullshit','bollocks','wanker','dickhead','nigra','damn it','hell','bloody hell','shit as','farted']
                profanity.add_censor_words(custom_badwords)
                profanity.censor(custom_badwords)
                s=profanity.censor(list1)