I want to open + read another script from myScript in the same Blender file.
e.g. i have a csv (in text editor) and want to read that from a script.
because of the comments it tried now this:
import MyData print(MyData.getData())
def getData(): return [ 1,2,3,4,5 ] print ("from mydata:", getData())
i got error: ModuleNotFoundError: No module named 'MyData'