Add element without replacing #51
Answered
by
wang0618
mawoka-myblock
asked this question in
Q&A
-
Hello guys, how do I add an element (e. g. |
Beta Was this translation helpful? Give feedback.
Answered by
wang0618
Apr 1, 2021
Replies: 1 comment
-
You can uses the scope model to give more control to the location of content output: with use_scope('name'): # open and enter a new output: 'scope1'
put_text("Hello")
name = input('Your name')
put_text(name, scope='name') Doc: https://pywebio.readthedocs.io/en/latest/guide.html#output-scope |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mawoka-myblock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can uses the scope model to give more control to the location of content output:
Doc: https://pywebio.readthedocs.io/en/latest/guide.html#output-scope