Skip to content

Import extended Python and .Net dependencies in Python calculations

LinusEvertsson edited this page Dec 14, 2018 · 2 revisions

Python examples:

  • Import entire library - import os
  • Import single class - from xml.etree import ElemetTree
  • Import multiple classes from same library - from xml.etree import ElementTree, ElementPath

.Net examples:

  • Import entire namespace - from AutArch.DataProviderCore import *
  • Import single class - from Infrastructure.Model import AADateTime
  • Import multiple classes from same namespace - from Infrastructure.Model import AADateTime, TimedItem
Clone this wiki locally