[Sidefx-houdini-list] Backslash treated as an escape character
sidefx at trinix.ca
Mon Jan 28 10:46:08 EST 2008
Finally all my problems were because of the way I created my env
variable $ANIMPATH in Windows.
It was set like this: F:\XYZ\Animation
and it must be like this: F:/XYZ/Animation
François Duchesneau wrote:
> Hi, I'm trying to create a python script that will create a directory
> that doesn't exist when I execute a render. I pass the file in "Output
> Picture" field to the script. It works under Linux like this.
> unix python $ANIMPATH/script/createPath.py `chs("vm_picture")`
> The problem is with Windows I lose the backslash in $ANIMPATH and this
> environment variable is also refered to in `chs("vm_picture")`
> I guess I'm missing something obvious here.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list