Importing modules in embedded python
Importing modules in embedded python Question: I’m trying to get module imports to work in embeddable python, but it doesn’t want to work C:UserstestDesktopwinpypython-3.10.10-embed-win32>type run_scriptsscript.py from module_test import test print("Hello world!") print(test()) C:UserstestDesktopwinpypython-3.10.10-embed-win32>type run_scriptsmodule_test.py def test(): return "Test!" C:UserstestDesktopwinpypython-3.10.10-embed-win32>@python.exe run_scriptsscript.py Traceback (most recent call last): File "C:UserstestDesktopwinpypython-3.10.10-embed-win32run_scriptsscript.py", line 1, in <module> from module_test import test …