How to code a Bad Word Chat Filter in Python

Опубликовано: 24 Апрель 2026
на канале: SalteeKiller
2,143
50

This was a heavily requested video by a lot of my students. Most of my students are video game coders and they really wanted to figure out how to filter out bad words inside of a chat feature in python specifically. In this tutorial, I will show you a way to do this. There are 100 ways of doing it but this should give you some good ideas.

Want cool coding merchandise?
https://www.salteekiller.store

My Portfolio Website: https://kst-bottega-react-portfolio.h...

Like these videos? Subscribe for notifications for my new videos and check out my other tutorials below! Till next time:

Python 2021: How to Create a Countdown Timer:
   • How to code a Timer in Python  

Python 2021: How to translate into Morse Code Tutorial:
https://www.youtube.com/watch?v=ecxAQ

Python 2021: Simple Calculator in 4 lines of code:
   • How to code a Calculator in Python  

Python 2021: How to create a Histogram or Bar Graph:
   • How to code Graphs in Python  

Python 2021: How to use for-loop's:
   • How to code for loops in Python Tutorial  

Python 2021: How to do the FizzBuzz challenge:
   • How to code FizzBuzz in Python  

Python 2021: Using the Random Library:
   • How to code the Random Library in Python  

#python
#swearing
#filter
#chat
#feature
#bad