Home › Forums › kdb+ › EmbedPy question, function in python that returns more than one value. › Re: EmbedPy question, function in python that returns more than one value.
-
Hi Kumar,
To index into a python objext you can use the syntax of a backtick character “`” to convert to q. E.g.
variable`If you have a list of variable you want to index into you could alternatively write
{x ` } each list_of_python_variables
or
list_of_python_variables@:`Depending on which syntax you prefer.
Cheers,
Sam