This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Production mode converts your Jupyter Notebook into a Python script that is executed directly against the command line. Thus, Jupyter Magics, such as %run will not work.
In the .py file you want to run, I recommend reorganizing your code into a function which you can then call with Alteryx.importPythonModule, where yourFunction() is the function in file.py that you would like to call