ModulesΒΆ

SNAPpy supports the import of user-defined and standard predefined Python source library modules:

from module import *                  # Supported
from module import myFunction         # Supported
from module import _myPrivateFunction # Supported
import module                         # Not supported

Any non-public functions contained in an imported module will not be included when using from module import *, but you can explicitly import non-public functions using from module import _myPrivateFunction.