[Sidefx-houdini-list] Custom Expression's calling external language (python/perl)

Rob Pieké pieke at coredp.com
Thu Oct 13 11:00:42 EDT 2005


Sorry, the stuff inside () should be quoted. I meant to type:
-> echo `system( "python myScript.py myArgs" )`

> Will this work?
> -> echo `system( python myScript.py myArgs )`
> 
>> Is there a way to call python/perl for string manipulation when 
>> writing custom expressions?
>>
>> I'd like to make a custom expression to do some string hacking in 
>> python and then return that hacked string to houdini. I'd like to call 
>> this expression anywhere in houdini that accepts strings.
>>
>> Example for textport:
>> ->echo `myWickedExpression("sourceString")`
>> ->Returned Python altered string
>>
>> Cheers,
>>
> 
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> 
> 




More information about the Sidefx-houdini-list mailing list