Thanks! Now I get it. Does split only work on a list? I am getting an error trying to use split on a string. There's something about this that isn't clicking for me.
wPath = "C:\workFolder\shots\renderFolder"
wPath.split('\')[:4]
SyntaxError: EOL while scanning string literal
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
