MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/IPython/comments/lp66vp/widget_button_to_run_code_block/goaxofi/?context=3
r/IPython • u/llub888 • Feb 21 '21
I'm trying to make a widget button that when clicked, runs a code block.
Thanks!
4 comments sorted by
View all comments
Show parent comment
1
I believe that runs that specific function when clicked. Is there a function to run a block of code in a notebook?
2 u/norweeg Feb 22 '21 Take your block of code, make it a function 1 u/llub888 Feb 22 '21 Of course, apologies for not understanding. Thank you!
2
Take your block of code, make it a function
1 u/llub888 Feb 22 '21 Of course, apologies for not understanding. Thank you!
Of course, apologies for not understanding. Thank you!
View all comments
Show parent comment
1
u/llub888 Feb 22 '21
I believe that runs that specific function when clicked. Is there a function to run a block of code in a notebook?