On Sun, Sep 21, 2008 at 3:39 AM, MaxtorAG <[EMAIL PROTECTED]> wrote:
>
> Maybe it's a dumm question, but how do I parse raw strings as
> arguments from mel code to python procedure...
>
> I have a string in mel script containing an expression. I need to send
> this string as e.g.:
> python("function(" + $string + ")");
python("function('" + $string + "')");
(that's single-quote, double-quote before the open-paren, and
double-quote, single-quote before the close paren)
or:
python("function(\"" + $string + "\")");
--
-deane
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---