Writing ScriptsΒΆ
There are two methods of instantiating Photons in a Python script:
Using the library_setup function, or
Registering an action like the tasks shown in the CLI commands section.
Instantiating Photons reads in the configuration and registers all the functionality provided by the various modules.