Locked History Actions

Import

Import

This element allows importing custom Python modules for use in Pit file. It works just like the Python import keyword, via the two attributes: import and from.

<Import from="MyCode.Foo" import="*" />

<Import import="MyCode" />

Attributes:

  • from -- Same as python from keyword [optional]
  • import -- Same as python import keyword [required]