items is included in the default script scope. There is nothing that you need to import to access this in a script. To access items in a module, like you are doing, you will need to import it into the module like thisā¦
items
from core.jsr223.scope import items
Same as hereā¦