How to add a Python application to OS X right-click menu?

I have made a Python-based application that plays a slideshow. I want to add shortcut on the right-click menu of a folder and play the slideshow.

How can I achieve this?


Solution 1:

You can use a service created by Automator to call your python script.

Automator Service example

Once your service is created, it will be available in the service submenu of your contextual menu.