This python sript reads a txt file and checks if there is a curse word in it.
In the current example one txt file is used (the 5_movie_quotes.txt). It contains a very characteristic quote from a movie and the movie title.
The python script reads the txt file and checks for any curse words. It returns True if the file contains a curse word, False otherwise.
In the specific txt file we have made a "typo" in purpose to test the python script. In line 7 the movie title was suposed to be "A Shot in the Dark" but with the typo it is "A Shit in the Dark". Let's see if the python script will catch it.
This project requires Python 3.x and the following Python libraries installed: