Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from zero_configuration import Configuration, ParserMeta, LocatorMeta
- class Parser(ParserMeta):
- def parse_config(self, config_file):
- # Some method to parse the config file
- pass
- class Locator(LocatorMeta):
- def get_conf_file(self):
- # Some method to find the conf file
- pass
- conf = Configuration(Parser(), Locator())
Add Comment
Please, Sign In to add comment