[Sidefx-houdini-list] Backslash treated as an escape character

Sean Lewkiw seanl at rainmaker.com
Mon Jan 28 11:53:59 EST 2008


I wish SESI would implement the 23 year old RFE to automatically create 
destination dirs that don't exist.  :'(

Sean

François Duchesneau wrote:
> 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
>
> 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.
>>
>> François
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>   
>>     
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>   

-- 
Sean Lewkiw
--
CIS London
130 Shaftesbury Avenue
London W1D 5EU
--
+44 (0) 207.031.1138 (P) (Direct)
+44 (0) 207.031.1136 (F)
+44 (0) 795.606.7245 (M)





More information about the Sidefx-houdini-list mailing list