EXAMPLE HERE
[python -exec {
with nuke.toNode('Blur86').input(0).input(0):
new_val = nuke.toNode('Blur1')['size'].value()
}] [python new_val]
use `parent` function to get the group and then pass it to `topnode` with input number `input1,2,3,etc`
[basename [value [topnode parent.input3].file]
[exists this.input0]]if nuke.thisNode().input(0)
This could be handy to use in switch nodes to avoid missing input errors
https://www.gatimedia.co.uk/parenting
https://www.lucamignardi.com/nuke-tcl-snippets/
http://www.andreageremia.it/tutorial_python_tcl.html
https://benmcewan.com/blog/2018/05/30/tcl-tips-for-visualizing-data-in-your-comp/