I have a Python script running through a Script SOP and I need to access the node connected to the Script SOP in my python script. This is no problem at the moment since I can just hard code the location of the node. However it would be way better to have the script itself know which Script SOP it's running from, and then use the input of the script node.
So, how do I get my script to be aware of which node is running it?