Pyhton ques

How can i extract just the file path from my write none
mypath is=F:/del/trst_#####.jpg
what commnad do i used just to get the F:/del
minus the file name..

b=nuke.selectedNode()
c=b[‘file’].value()
print c

this gives me F:/del/trst_#####.jpg
cheers.

No Responses to “Pyhton ques”

Post a Comment