Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleExample - Importing Code to the Python Agent


Code Block
languagetext
themeEclipse
# Absolute imports
from python.Analytics.PYM_Algorithms import findclu
from ultra.Analytics.UFL_Types import InputData
from apl.Analytics.APL_Helpers import logger
 
# Relative imports
from .PYM_Algorithms import findclu
from .UFL_Types import InputData
from .APL_Helpers import logger
 
# Other imports
import numpy as np



Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: