MOHAN KRISHNA

0 %
Mohan Krishna
Multimedia Professional
Ai & ML Researcher & Enthusiast
  • Residence:
    India
  • City:
    Vijayawada
  • Age:
    46
AI/ML Enthusiast. New Media Trainer, VFX Artist, Non Linear Video Editor, Graphic Designer, Sound Editor and iOS App Designer.
Telugu
English
Hindi
Tamil
Proficiency:
Graphic Design
Web Design
Video & VFX
Machine Learning
Artificial Intelligence
Digital Marketing
Areas of Interest:
Take a look at some of the things I love working on.
  • Non Linear Video Editing
  • Graphic Design
  • Web Design
  • Audio Editing
  • Content Management Systems
  • Python
  • Deep Learning
  • OpenCV
  • Image Classification

Profanity Checker

October 29, 2022

Open File:

def readFile():
	dest = open("/Users/User/Desktop/uni/profanity editor/movie.txt")
	contents = dest.read()
	print(contents)
	dest.close()
# http://www.pillalamarri.in/python/profanity-checker/
readFile()

Profanity Checker:

import urllib
def readFile():
	dest = open("/Users/User/Desktop/uni/profanity editor/movie.txt")
	contents = dest.read()
	print(contents)
	dest.close()
	checkProfanity(contents)
# http://www.pillalamarri.in/python/profanity-checker/
def checkProfanity(text_to_check):
	myurl = "http://www.wdylike.appspot.com/?q="
	connection = urllib.urlopen(myurl+text_to_check)
	answer = connection.read()
	print(answer)

readFile()
Posted in PythonTags: