1

python circuits is a great framework, I am not familiar with its component loading machanism

apart from loads from the /site-data folder for installed python modules through pip, I guess thats where the PYTHONPATH is set

is it loads from else where? e.g the current path when I do invoke python app.py?

Junchen Liu
  • 5,435
  • 10
  • 51
  • 62

1 Answers1

0

It uses safe_import which ultimately uses __import__ from the Python builtins. This means your components have to be importable via the normal Python import paths.

James Mills
  • 18,669
  • 3
  • 49
  • 62