interaction python ojs #3387
Unanswered
costadamorte
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That's not possible at the moment. We do have support for interaction between Shiny (in R) and Observable, but currently you can't run Python code interactively. You can right Python code at render that and call
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. How can I insert python code inside an observable variable?
{objs}
from numpy import *
v=random.choice([10,20,30,40,50])
r=random.choice([2,3,4,5])
i ="{0:.2f}".format(v/r)
I= ${i} mA
Beta Was this translation helpful? Give feedback.
All reactions