Tyring to call a script that is within a package when using runScript

Hello,

So I am trying to call a python script that is within a package using the expression language function “runScript”. When I have the python script configured outside of its package, everything works fine. The expression code is as follows:

runScript(“Test.myFunc”)

but once I place the script in a package, called “TestPackage” and then attempt to reference that path in the runScript function, it says that that script does not exist. The code I try to use is as follows:

runScript(“TestPackage/Test.myFunc”)

Any help is appreciated. Thank you.

Have you tried this instead:

runScript(“TestPackage.Test.myFunc”)

Wow, I guess I didn’t. Thank you, it worked haha