I would like to write a nautilus script using python3.6 that will extract the name of a file from nautilus when the file is clicked on by the mouse pointer. Which python module can I use, or how do I write such a script from scratch?
For this script to be executable, I will make the script to start with:
#!/usr/bin/env python3
Beyond that, I will need advice on how to do what I want.