%run not working as expected
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 07:41 AM
I have a quick question about %run <notebook path>. I am using the %run command to import functions from a notebook. It works fine when I run %run once. But when I run two %run commands, I lose the reference from the first %run. I get NameError when referencing the function from the first notebook. Any idea why this is happening?Any workaround for this? I am trying to use the imported functions from the notebooks inside a UDF and it throws nameerror.
0 REPLIES 0

