# Random Python

<p class="callout success">Get the file path from selected nodes:</p>

```Python
sel=nuke.selectedNodes()
for x in sel:
	print(x.knob("file").getValue())
```