|
Python reference: Period |
The class Period represents the C API structure TPeriod.
To create an instance of Period, use the syntax below:
Period(periodNum)
Where periodNum defines the period type required, see the TPeriod documentation. To get a Period instance for a custom period length, use the Python interface helper function SpecifiedPeriod:
SpecifiedPeriod(FromTime=0.0, ToTime=0.0)
The attributes are the same as in TPeriod and take the same values.