class MyHandler(FileSystemEventHandler):

    def on_any_event(self, event):
        srcpath = event.src_path
print((srcpath, 'has been ', event.event_type))
Calling one method from another within same class in Python