Network Reliability Engineering Community

What is the Environment module in Jinja?

In Part 2 of the Jinja tutorial, we’re told to import the Environment module. Just wondering what is included in this module, why its needed in this scenario, and what exactly a module is in the context of Jinja.

Thanks for the help!

This is part of the Jinja python library, and it’s just how the library was constructed and intended to be used, so we’re just following that model in the lesson.

See the Jinja docs for a detailed explanation on this.

1 Like