How to pass a variable to magic ´run´ function in IPython August 11, 2022 by Magenaut I want to do something like the following: