PRT I, Rave from Python & PRT I
Course Description
Audience
This course addresses developers who want to learn the basics of Python Report Toolkit (PRT)
and all about Rave's Python API.
Prerequisites
The courses “Infrastructure Introduction”, “Python” and “Rave I”.
Duration
2 days
Course goals
You will learn all about Rave’s Python API and become familiar with basic possibilities in the
API you use to define PRT reports. When you have completed the course you will be able to
create new and maintain existing basic PRT reports.
Course topics
Studio’s development environment for Python code
Basic objects
o text
o image
o row
o column
o isolate
Basic properties
o colour
o font
o size
o aligning
o etc.
Pages handling
o breaks
o headers
o footers
o bookmarks
o cross references
Rave's Python API (to get data for PRT reports)
o basics
o consider planning objects
contexts
bags
iterators
o rule failures & constraints
o transforms
Best practice
o standard header
o bag handler
There are a many examples and exercises (with solutions) in this course.
In all examples and exercises a file based Crew Rostering/Pairing system with a generic rule set,
flight data from OAG and faked crew data is used.