I have a Python script that I named moduleA.py in the text editor. I ran the script by clicking the "Run Script" button. Then I expected to be able to import the module in the console with "import moduleA" but I get an error saying that the module does not exist.
How does one test functions etc. from a Python script in the text editor in the Python console?
py
extension text editor script egmoduleA.py
into the python console withimport moduleA
now instead usemoduleA = bpy.data.texts["moduleA.py"].as_module()
Don't necessarily need to run script from text editor first $\endgroup$ – batFINGER Jun 2 '19 at 5:20