#!/bin/env python # # file name: /home/pXXuser/sardanaMacros/hello_world_class.py # """this module contains the hello world macro""" __all__ = ["hello_world_class"] from sardana.macroserver.macro import * from sardana.macroserver.macro import macro class hello_world_class(Macro): """The hello world macro as a class.""" def run(self): self.output( "Hello World (Class)")