“os.path.join” problem with slash

Hello
I am new learning python.
So I wanted to modify a script I found on a tutorial so that’s work for my directories.
It is a script to create a Write node which create directory of my scene right where it should be.
It’s working for creating my directories on the good folders, but the things that isn’t working is the filename in my write node.
Slash are like this \ instead of like this /.
For exemple when I run it and I type in my write node, seq 10, plan 5, version 3, here is what I get:
I:/Images/Project/Compo\s10_p5\v03\s10_p5_v03.%04d.exr
it’s the line "os.path.join" which doesn’t seem right, but How could I change it?
Thanks for your help

Attached Files
File Type: txt customNode.txt (2.6 KB)
No Responses to ““os.path.join” problem with slash”

Post a Comment