Home › Forums › kdb+ › Pyq => Embedpy transition › Reply To: Pyq => Embedpy transition
-
embedPy operates in a q first manner so you’d have to load your .p file and then call a q statement outside to do the assignment:
https://github.com/KxSystems/embedPy/tree/master/docs
q)func:.p.get[`func]
PyKX is the most flexible interface as it allows you do mix q first and Python first code in the same project
Python first assign a python function to a q variable
>>> kx.q['func'] = func
q first assign a python function to a q variable:
https://code.kx.com/pykx/2.5/pykx-under-q/intro.html#function-calls
q)func:.pykx.get[`func]
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
rocuinneagain.
-
This reply was modified 6 months, 3 weeks ago by
megan_mcp.
-
This reply was modified 6 months, 3 weeks ago by
megan_mcp.
-
This reply was modified 6 months, 3 weeks ago by
megan_mcp.
-
This reply was modified 6 months, 3 weeks ago by
megan_mcp.
-
This reply was modified 5 months, 3 weeks ago by
Carey.
-
This reply was modified 5 months, 3 weeks ago by
Carey.
-
This reply was modified 6 months, 3 weeks ago by